Go to advanced search

by jeremythorne
Thu Aug 17, 2017 7:29 pm
Forum: OpenGLES
Topic: OpenGLES2 freeze in part of shader it shouldn't be reaching
Replies: 3
Views: 2299

Re: OpenGLES2 freeze in part of shader it shouldn't be reaching

The raspberry pi GPU is a SIMD device (single instruction multiple data). When it is executing a fragment shader it is trying to run the same code for multiple pixels at the same time. When it encounters an if statement, potentially the if statement could be true for some pixels and false for others...

Go to advanced search