[Mesa-dev] [PATCH 25/25] i965: Expose ARB_shader_image_load_store.
Francisco Jerez
currojerez at riseup.net
Tue May 5 14:48:32 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.
v3: Drop GLSL IR support. Disable the extension if NIR is *not* in use.
---
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..033aa12 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