shader_info: convert textures_used to a bitset.
For now keep it a bitset of 1 32-bit dword. Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9456>
This commit is contained in:
@@ -791,7 +791,7 @@ static void si_dump_descriptors(struct si_context *sctx, gl_shader_stage stage,
|
||||
if (info) {
|
||||
enabled_constbuf = u_bit_consecutive(0, info->base.num_ubos);
|
||||
enabled_shaderbuf = u_bit_consecutive(0, info->base.num_ssbos);
|
||||
enabled_samplers = info->base.textures_used;
|
||||
enabled_samplers = info->base.textures_used[0];
|
||||
enabled_images = u_bit_consecutive(0, info->base.num_images);
|
||||
} else {
|
||||
enabled_constbuf =
|
||||
|
Reference in New Issue
Block a user