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

Author: Jesse Natalie <[email protected]>
Date:   Fri Nov 13 09:20:37 2020 -0800

microsoft/compiler: Fix reference to renamed intrinsic getter

Fixes: b9c61379 ("microsoft/compiler: translate nir to dxil")
Reviewed-by: Erik Faye-Lund <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7609>

---

 src/microsoft/compiler/nir_to_dxil.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microsoft/compiler/nir_to_dxil.c 
b/src/microsoft/compiler/nir_to_dxil.c
index d89a1d6426f..443917944f3 100644
--- a/src/microsoft/compiler/nir_to_dxil.c
+++ b/src/microsoft/compiler/nir_to_dxil.c
@@ -2338,7 +2338,7 @@ emit_image_store(struct ntd_context *ctx, 
nir_intrinsic_instr *intr)
          return false;
    }
 
-   nir_alu_type in_type = nir_intrinsic_type(intr);
+   nir_alu_type in_type = nir_intrinsic_src_type(intr);
    enum overload_type overload = get_overload(in_type, 32);
 
    assert(nir_src_bit_size(intr->src[3]) == 32);

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to