mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
nir_to_tgsi_info: drop const_buffers_declared
Drivers don't use this, so avoid the assert it could have. Cc: mesa-stable Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18042>
This commit is contained in:
parent
50238f4958
commit
ad274ba889
1 changed files with 0 additions and 3 deletions
|
|
@ -794,9 +794,6 @@ void nir_tgsi_scan_shader(const struct nir_shader *nir,
|
|||
info->num_outputs = num_outputs;
|
||||
|
||||
info->const_file_max[0] = nir->num_uniforms - 1;
|
||||
info->const_buffers_declared = u_bit_consecutive(1, nir->info.num_ubos);
|
||||
if (nir->num_uniforms > 0)
|
||||
info->const_buffers_declared |= 1;
|
||||
info->images_declared = nir->info.images_used[0];
|
||||
info->samplers_declared = nir->info.textures_used[0];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue