Mesa (main): gallivm: s/0/LP_BLD_TEX_MODIFIER_NONE/

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jul 14 20:00:36 UTC 2022


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

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jun  2 12:41:35 2022 -0600

gallivm: s/0/LP_BLD_TEX_MODIFIER_NONE/

A minor readability improvement.

Signed-off-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17062>

---

 src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c b/src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c
index 921b33e8420..425ee66a13c 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c
@@ -291,7 +291,7 @@ emit_tex(struct lp_build_nir_context *bld_base,
                                                      params->texture_index,
                                                      params->coords[0],
                                                      params->derivs ? params->derivs[0] : derivs,
-                                                     0);
+                                                     LP_BLD_TEX_MODIFIER_NONE);
 }
 
 



More information about the mesa-commit mailing list