mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
tgsi: remove unused tgsi_shader_info.culldist_writemask
Reviewed-by: Charmaine Lee <charmainel@vmware.com> Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24100>
This commit is contained in:
parent
14454e20ea
commit
eeb0d979f3
3 changed files with 0 additions and 3 deletions
|
|
@ -644,7 +644,6 @@ void nir_tgsi_scan_shader(const struct nir_shader *nir,
|
|||
|
||||
info->num_written_clipdistance = nir->info.clip_distance_array_size;
|
||||
info->num_written_culldistance = nir->info.cull_distance_array_size;
|
||||
info->culldist_writemask = u_bit_consecutive(0, info->num_written_culldistance);
|
||||
|
||||
if (info->processor == PIPE_SHADER_FRAGMENT)
|
||||
info->uses_kill = nir->info.fs.uses_discard;
|
||||
|
|
|
|||
|
|
@ -644,7 +644,6 @@ scan_property(struct tgsi_shader_info *info,
|
|||
break;
|
||||
case TGSI_PROPERTY_NUM_CULLDIST_ENABLED:
|
||||
info->num_written_culldistance = value;
|
||||
info->culldist_writemask |= (1 << value) - 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -105,7 +105,6 @@ struct tgsi_shader_info
|
|||
bool writes_layer;
|
||||
bool writes_memory; /**< contains stores or atomics to buffers or images */
|
||||
bool uses_fbfetch;
|
||||
unsigned culldist_writemask;
|
||||
unsigned num_written_culldistance;
|
||||
unsigned num_written_clipdistance;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue