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

Author: Jason Ekstrand <[email protected]>
Date:   Mon Oct  5 19:21:29 2020 -0500

spirv: Make the clc_shader const

Reviewed-by: Jesse Natalie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7016>

---

 src/compiler/spirv/nir_spirv.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compiler/spirv/nir_spirv.h b/src/compiler/spirv/nir_spirv.h
index f4a5921a6d2..576e4a7d35e 100644
--- a/src/compiler/spirv/nir_spirv.h
+++ b/src/compiler/spirv/nir_spirv.h
@@ -80,7 +80,7 @@ struct spirv_to_nir_options {
    nir_address_format temp_addr_format;
    nir_address_format constant_addr_format;
 
-   nir_shader *clc_shader;
+   const nir_shader *clc_shader;
 
    struct {
       void (*func)(void *private_data,

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

Reply via email to