mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 08:08:06 +02:00
tgsi: remove unused tgsi_shader_info.images_load
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
eeb0d979f3
commit
8c227964f3
2 changed files with 1 additions and 7 deletions
|
|
@ -224,12 +224,7 @@ scan_src_operand(struct tgsi_shader_info *info,
|
|||
info->shader_buffers_atomic |= 1 << src->Register.Index;
|
||||
}
|
||||
} else {
|
||||
if (src->Register.File == TGSI_FILE_IMAGE) {
|
||||
if (src->Register.Indirect)
|
||||
info->images_load = info->images_declared;
|
||||
else
|
||||
info->images_load |= 1 << src->Register.Index;
|
||||
} else if (src->Register.File == TGSI_FILE_BUFFER) {
|
||||
if (src->Register.File == TGSI_FILE_BUFFER) {
|
||||
if (src->Register.Indirect)
|
||||
info->shader_buffers_load = info->shader_buffers_declared;
|
||||
else
|
||||
|
|
|
|||
|
|
@ -115,7 +115,6 @@ struct tgsi_shader_info
|
|||
* Bitmask indicating which declared image is a buffer.
|
||||
*/
|
||||
unsigned images_buffers;
|
||||
unsigned images_load; /**< bitmask of images using loads */
|
||||
unsigned images_store; /**< bitmask of images using stores */
|
||||
unsigned images_atomic; /**< bitmask of images using atomics */
|
||||
unsigned shader_buffers_declared; /**< bitmask of declared shader buffers */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue