Skip to content

lima/gpir: add limit of max 512 instructions

Erico Nunes requested to merge enunes/mesa:lima-gpir-max-512 into master

It has been noted that the lima GP has a limit of 512 instructions, after which the shaders don't work and fail silently. This commit adds a check to make the shader compilation abort when the shader exceeds this limit, so that we get a clear reason for why the program will not work.

Merge request reports