Skip to main content
6 events
when toggle format what by license comment
Jul 2, 2018 at 11:35 vote accept Twarit Waikar
Jul 2, 2018 at 8:42 comment added Twarit Waikar I am doing 2 float multiplications and 1 vec2 subtraction in my shaders as a whole. But as the answers are suggesting, this seems to be normal to get lower frame rates with less workload.
Jul 2, 2018 at 5:59 comment added Kromster "My shaders are under 60 lines of code" - add that to the question please. 60 lines of shader code could contain something weird
Jul 2, 2018 at 5:40 answer added Maximus Minimus timeline score: 1
Jul 2, 2018 at 0:05 comment added Charanor Could be lots of things... I'd guess that the GPU has a high start-up cost. Think of your GPU vs CPU as a backpack vs a truck. The truck (GPU) can definitely carry more items than the backpack (CPU) but if you only have a pen and some paper it's easier to put it in a backpack than to start the trucks engine, open the doors, hire a driver etc... So basically your CPU might outperform your GPU on these simple calculations but if you were to say draw 6 mil quads your GPU would outperform your CPU.
Jul 1, 2018 at 22:05 history asked Twarit Waikar CC BY-SA 4.0