etnaviv: Check for icache availability if required

Marek Vasut requested to merge marex/mesa:stm32-icache into master

On lower-end GPUs without the icache, the maximum shader instruction count is the hard limit. In case the shader has more instructions, indicate that the shader compilation failed.

Signed-off-by: Marek Vasut

Edited by Marek Vasut

Merge request reports