aboutsummaryrefslogtreecommitdiff
path: root/BuddhaTest/Shaders
Commit message (Collapse)AuthorAgeFilesLines
* Remove unneededAndreas Grois2018-03-171-2/+1
|
* Improve parallelization by not storing the offset, but instead ↵Andreas Grois2018-03-171-21/+21
| | | | | | re-calculating it every dispatch. By this I could get the VGPR usage down from 40 to 36.
* Change starting value code to just jump to next orbit if in main bulb orAndreas Grois2018-03-161-21/+19
| | | | cardioid.
* Fix wrong iteration per frame codeAndreas Grois2018-03-161-9/+9
|
* minorAndreas Grois2018-03-161-2/+1
|
* Merge branch 'master' into feature/01-PausabilityAndreas Grois2018-03-161-1/+1
|\
| * Fix wrong seed calculation, now I've had some sleep.Andreas Grois2018-03-161-2/+1
| |
* | Fix endless loop in shader and make framerate adaptiveAndreas Grois2018-03-151-7/+7
| | | | | | | | | | | | 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.
* | Force starting values to be outside main cardioid and bulb, and add storage ↵Andreas Grois2018-03-152-22/+21
| | | | | | | | specifiers to buffers.
* | OopsAndreas Grois2018-03-151-9/+9
| |
* | Prevent even more waiting by storing a more complete stateAndreas Grois2018-03-151-33/+41
| |
* | Speed up computation tremendously, by having each worker (nearly)Andreas Grois2018-03-151-54/+68
| | | | | | | | | | completely store its state and working (nearly) fully independent of each other.
* | First commit with compute pausabilityAndreas Grois2018-03-141-25/+96
|/
* Split buffer in three, one per color (as OpenGL guarantees that one can at ↵Andreas Grois2018-03-112-10/+26
| | | | | | | | 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.
* Instead of using the yDecoupler value directly, the code's now using theAndreas Grois2018-03-111-1/+1
| | | | | hash of it, causing more drastic changes of the y=f(x,yDecoupler) function with dispatch number.
* Decouple y and x value based on iteration. Should approximately squareAndreas Grois2018-03-111-21/+11
| | | | teh available randomness!
* Remove useless mirror code in fragment shader. Buffer is already mirrored now.Andreas Grois2018-03-101-1/+1
|
* Move buffer dimensions out of buffer into uniforms. No longer odd -2Andreas Grois2018-03-102-5/+6
| | | | everywhere.
* Reduce buffer size by a factor of 2 (image is symmetric)Andreas Grois2018-03-102-2/+2
|
* Fix mirroring in png outputAndreas Grois2018-03-101-1/+1
| | | | | 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-2/+3
|
* ColorizeAndreas Grois2018-03-091-4/+10
|
* Make this thing render.Andreas Grois2018-03-091-6/+179
| | | | Also: Steal integer hash from stackexchange...
* Initial CommitAndreas Grois2018-03-093-0/+66