shader: don't use a single temps array
Create a bunch of temp arrays based on the input TGSI ranges. Otherwise the temps code triggers a lack of some passes in the mesa GLSL compiler. A large shader from shadertoy triggered 1m30s compile in mesa due to the large temp array. Reported-by:Marc-André Lureau <marcandre.lureau@gmail.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
Showing
Please register or sign in to comment