tgsi: remove unused tgsi_shader_info.const_buffers_indirect
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:
committed by
Marge Bot
parent
674fbed75d
commit
0335976fb2
@@ -150,22 +150,9 @@ scan_src_operand(struct tgsi_shader_info *info,
|
||||
}
|
||||
|
||||
/* check for indirect register reads */
|
||||
if (src->Register.Indirect) {
|
||||
if (src->Register.Indirect)
|
||||
info->indirect_files |= (1 << src->Register.File);
|
||||
|
||||
/* record indirect constant buffer indexing */
|
||||
if (src->Register.File == TGSI_FILE_CONSTANT) {
|
||||
if (src->Register.Dimension) {
|
||||
if (src->Dimension.Indirect)
|
||||
info->const_buffers_indirect = info->const_buffers_declared;
|
||||
else
|
||||
info->const_buffers_indirect |= 1u << src->Dimension.Index;
|
||||
} else {
|
||||
info->const_buffers_indirect |= 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (src->Register.Dimension && src->Dimension.Indirect)
|
||||
info->dim_indirect_files |= 1u << src->Register.File;
|
||||
|
||||
|
||||
@@ -131,7 +131,6 @@ struct tgsi_shader_info
|
||||
* indirect addressing. The bits are (1 << TGSI_FILE_x).
|
||||
*/
|
||||
unsigned dim_indirect_files; /**< shader resource indexing */
|
||||
unsigned const_buffers_indirect; /**< const buffers using indirect addressing */
|
||||
|
||||
unsigned properties[TGSI_PROPERTY_COUNT]; /* index with TGSI_PROPERTY_ */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user