Mesa (main): microsoft/spirv_to_dxil: Delete unused local variable

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jun 15 12:23:41 UTC 2022


Module: Mesa
Branch: main
Commit: a88ac30d3845bdd1ad82f09a2b1f3fec21118b1b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a88ac30d3845bdd1ad82f09a2b1f3fec21118b1b

Author: Yonggang Luo <luoyonggang at gmail.com>
Date:   Tue Jun 14 02:24:00 2022 +0800

microsoft/spirv_to_dxil: Delete unused local variable

Signed-off-by: Yonggang Luo <luoyonggang at gmail.com>
Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16671>

---

 src/microsoft/spirv_to_dxil/dxil_spirv_nir.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/microsoft/spirv_to_dxil/dxil_spirv_nir.c b/src/microsoft/spirv_to_dxil/dxil_spirv_nir.c
index 480784a2764..72f70ce70b7 100644
--- a/src/microsoft/spirv_to_dxil/dxil_spirv_nir.c
+++ b/src/microsoft/spirv_to_dxil/dxil_spirv_nir.c
@@ -479,9 +479,6 @@ static bool
 fix_sample_mask_type(struct nir_builder *builder, nir_instr *instr,
                      void *cb_data)
 {
-   struct dxil_spirv_runtime_conf *conf =
-      (struct dxil_spirv_runtime_conf *)cb_data;
-
    if (instr->type != nir_instr_type_deref)
       return false;
 



More information about the mesa-commit mailing list