[Mesa-dev] [PATCH 23/23] i965: Expose ARB_shader_image_load_store.

Francisco Jerez currojerez at riseup.net
Tue Apr 28 11:44:34 PDT 2015


Reviewed-by: Paul Berry <stereotype441 at 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



More information about the mesa-dev mailing list