aboutsummaryrefslogtreecommitdiff
path: root/BuddhaTest/src/BuddhaTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Properly calculate required buffer size. I'm starting to think that std140 ↵Andreas Grois2018-03-171-3/+8
| | | | would have been the better alternative...
* Fix memory allocation for state buffer. How could that ever work?Andreas Grois2018-03-171-1/+9
|
* Seems vec2 needs 16 bytes on nVidia...Andreas Grois2018-03-171-1/+1
|
* Correct line endings.Andreas Grois2018-03-171-230/+230
|
* Clean code a bitAndreas Grois2018-03-171-57/+57
|
* Change PID controller to use frame numbers as time, and time only as ↵Andreas Grois2018-03-171-2/+2
| | | | controlled parameter
* Fix a few warnings spit out by MSVC compiler:Andreas Grois2018-03-171-3/+4
|
* Improve parallelization by not storing the offset, but instead ↵Andreas Grois2018-03-171-1/+1
| | | | | | re-calculating it every dispatch. By this I could get the VGPR usage down from 40 to 36.
* Comment out debug outputAndreas Grois2018-03-161-1/+1
|
* Tweak PID a bitAndreas Grois2018-03-161-2/+2
|
* Fix endless loop in shader and make framerate adaptiveAndreas Grois2018-03-151-2/+19
| | | | | | It seems forcing points outside the cardioid and bulb with a bad random generator can take really long... Also, now framerate adjusts based on time it takes to render frames.
* Speed up computation tremendously, by having each worker (nearly)Andreas Grois2018-03-151-27/+2
| | | | | completely store its state and working (nearly) fully independent of each other.
* First commit with compute pausabilityAndreas Grois2018-03-141-12/+33
|
* Split buffer in three, one per color (as OpenGL guarantees that one can at ↵Andreas Grois2018-03-111-13/+24
| | | | | | | | least have 8 SSBOs), to allow three times larger images. Also make it possible to ignore maximum buffer size reported by the driver. The maximum buffer size limitation is rather strict on radeonsi, so I decided to split the buffer in three, effectively increasing the maximum image size by a factor of three. While doing so I realized that at least on radeonsi the reported maximum buffer size seems to be off. For this reason I added a new command line switch, that allows to ignore the maximum buffer size check. For those curious: radeonsi reports a maximum buffer size of 128 MB, but I had no problems when using three buffers of 1098 MB each.
* Replace std::cout with std::cerr for actual error messages. Remove someAndreas Grois2018-03-111-1/+1
| | | | debugging output
* Disable vsync. Not needed, and causing the rendering to be slower thanAndreas Grois2018-03-111-0/+3
| | | | necessary.
* Make preview window scale if being resized.Andreas Grois2018-03-111-0/+8
|
* Decouple y and x value based on iteration. Should approximately squareAndreas Grois2018-03-111-0/+11
| | | | teh available randomness!
* Prepare install script, and make shader loading work from PREFIX/share/...Andreas Grois2018-03-101-5/+27
|
* Add command line parsingAndreas Grois2018-03-101-69/+27
|
* Remove non-needed host buffer copy to ssbo, instead initialize ssbo withAndreas Grois2018-03-101-2/+2
| | | | zero.
* Move buffer dimensions out of buffer into uniforms. No longer odd -2Andreas Grois2018-03-101-10/+17
| | | | everywhere.
* Add color scaling option (as 8 bit per channel is not really much)Andreas Grois2018-03-101-1/+2
|
* Gamma correction for outputAndreas Grois2018-03-101-6/+48
|
* Reduce buffer size by a factor of 2 (image is symmetric)Andreas Grois2018-03-101-1/+1
|
* Fix mirroring in png outputAndreas Grois2018-03-101-2/+10
| | | | | Restrict starting value range to positive y-values, probably improving random quality
* Make local work group size tweakable. (Not yet exposed to user)Andreas Grois2018-03-101-5/+12
|
* Dump result to image.png in current folder.Andreas Grois2018-03-101-2/+11
|
* ColorizeAndreas Grois2018-03-091-3/+5
|
* Make this thing render.Andreas Grois2018-03-091-4/+7
| | | | Also: Steal integer hash from stackexchange...
* Initial CommitAndreas Grois2018-03-091-0/+124