From 4b9b6a0711b1e5698370f5afdb4680f78f1ece1f Mon Sep 17 00:00:00 2001 From: "Thomas H.P. Andersen" Date: Tue, 11 Jul 2023 18:22:30 +0200 Subject: [PATCH] tgsi: remove unused tgsi_shader_info.images_store Reviewed-by: Charmaine Lee Reviewed-by: Christian Gmeiner Part-of: --- src/gallium/auxiliary/tgsi/tgsi_scan.c | 5 ----- src/gallium/auxiliary/tgsi/tgsi_scan.h | 1 - 2 files changed, 6 deletions(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.c b/src/gallium/auxiliary/tgsi/tgsi_scan.c index f522f688c16..65ffced8770 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_scan.c +++ b/src/gallium/auxiliary/tgsi/tgsi_scan.c @@ -388,11 +388,6 @@ scan_instruction(struct tgsi_shader_info *info, else info->msaa_images_declared |= 1 << dst->Register.Index; } - - if (dst->Register.Indirect) - info->images_store = info->images_declared; - else - info->images_store |= 1 << dst->Register.Index; } else if (dst->Register.File == TGSI_FILE_BUFFER) { if (dst->Register.Indirect) info->shader_buffers_store = info->shader_buffers_declared; diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.h b/src/gallium/auxiliary/tgsi/tgsi_scan.h index 79329de0e41..10590921f57 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_scan.h +++ b/src/gallium/auxiliary/tgsi/tgsi_scan.h @@ -115,7 +115,6 @@ struct tgsi_shader_info * Bitmask indicating which declared image is a buffer. */ unsigned images_buffers; - 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 */ unsigned shader_buffers_load; /**< bitmask of shader buffers using loads */