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

Author: Iago Toral Quiroga <[email protected]>
Date:   Thu Jul 27 06:56:48 2023 +0200

broadcom/compiler: stop asserting on Vulkan environment

The idea is to eventually get rid of key->environment.

Reviewed-by: Alejandro PiƱeiro <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24396>

---

 src/broadcom/compiler/nir_to_vir.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/broadcom/compiler/nir_to_vir.c 
b/src/broadcom/compiler/nir_to_vir.c
index af0549ab390..359917179b9 100644
--- a/src/broadcom/compiler/nir_to_vir.c
+++ b/src/broadcom/compiler/nir_to_vir.c
@@ -2739,7 +2739,6 @@ ntq_emit_inline_ubo_load(struct v3d_compile *c, 
nir_intrinsic_instr *instr)
         if (c->compiler->max_inline_uniform_buffers <= 0)
                 return false;
 
-        assert(c->key->environment == V3D_ENVIRONMENT_VULKAN);
         /* Regular UBOs start after inline UBOs */
         uint32_t index = nir_src_as_uint(instr->src[0]);
         if (index >= c->compiler->max_inline_uniform_buffers)

Reply via email to