Files
mesa/src
Iago Toral Quiroga cd094f7dbb broadcom/compiler: fix num_textures for precompiled shaders
Some shaders use N textures but not bind these in consecutive
slots, so then we find texture accesses to indices that exceed the
number of textures and we assert crash. This happens with various
shaders from shader-db.

Fix that by looking at the largest binding used in the shader
and using that as the number of textures used.

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28978>
2024-05-09 09:29:44 +02:00
..
2024-05-09 06:29:29 +00:00
2024-05-01 00:47:59 +02:00