Reviewed-by: Paul Berry <stereotype...@gmail.com>

v2: Disable the extension for the time being if NIR is in use until it
    grows the necessary intrinsics.
---
 src/mesa/drivers/dri/i965/intel_extensions.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c 
b/src/mesa/drivers/dri/i965/intel_extensions.c
index c28c171..d647aad 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -323,6 +323,8 @@ intelInitExtensions(struct gl_context *ctx)
 
       ctx->Extensions.ARB_texture_compression_bptc = true;
       ctx->Extensions.ARB_derivative_control = true;
+      ctx->Extensions.ARB_shader_image_load_store =
+         !brw_env_var_as_boolean("INTEL_USE_NIR", true);
    }
 
    if (brw->gen >= 8) {
-- 
2.3.5

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to