Timeline for YUYV OpenGL Fragment Shader
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 28, 2015 at 17:44 | comment | added | glampert | If you are interested in attempting to measure execution times, then I think a Timer Query is where you can start. | |
Apr 28, 2015 at 17:42 | comment | added | glampert |
BTW, the last parameter in texture() (bias) is optional, so you might omit the 0.
|
|
Apr 28, 2015 at 17:42 | comment | added | glampert | @JonathanDrolet, I like the new version but I don't think you're going to be able to measure any benefits indeed. Unfortunately, benchmarking shaders is really hard, and we lack good profiling tools. | |
Apr 28, 2015 at 14:46 | comment | added | Jonathan Drolet |
Thanks for the input. There was a perfectly valid reason for texelFetch , but since I can't remember it's probably not relevant anymore. I removed it as well as integer reference in favor of mod . I also created a version using a permutation matrix instead of the if statement, but I have a hard time believing it "better", I added it to the question, care to comment if it's better than the if it replaces?
|
|
Apr 28, 2015 at 14:39 | vote | accept | Jonathan Drolet | ||
Apr 28, 2015 at 4:36 | history | answered | glampert | CC BY-SA 3.0 |