mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-15 00:50:18 +01:00
ir3: Don't count images in num_samp
The new style reg packers noticed us overflowing SP_xS_CONFIG.num_samp. Even if we lower image loads to isam, they are using the bindless descriptors, so no reason to count them here. Fixes: spec@arb_shader_image_load_store@max-images Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36589>
This commit is contained in:
parent
4fe255b14d
commit
c4ea8375c4
1 changed files with 1 additions and 2 deletions
|
|
@ -5345,8 +5345,7 @@ emit_instructions(struct ir3_context *ctx)
|
|||
* it is write-only we don't have to count it, but after lowering derefs
|
||||
* is too late to compact indices for that.
|
||||
*/
|
||||
ctx->so->num_samp =
|
||||
BITSET_LAST_BIT(ctx->s->info.textures_used) + ctx->s->info.num_images;
|
||||
ctx->so->num_samp = BITSET_LAST_BIT(ctx->s->info.textures_used);
|
||||
|
||||
/* Save off clip+cull information. Note that in OpenGL clip planes may
|
||||
* be individually enabled/disabled, and some gens handle lowering in
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue