From: Dave Airlie Date: Sat, 20 Jul 2019 04:29:00 +0000 (+1000) Subject: llvmpipe: enable ARB_shader_image_load_store X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b7468f78317a12438f219f7556521a6ba20d84c4;p=mesa.git llvmpipe: enable ARB_shader_image_load_store Reviewed-by: Roland Scheidegger --- diff --git a/src/gallium/auxiliary/gallivm/lp_bld_limits.h b/src/gallium/auxiliary/gallivm/lp_bld_limits.h index 9be7e68badd..0f74d33148d 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_limits.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_limits.h @@ -142,7 +142,6 @@ gallivm_get_shader_param(enum pipe_shader_cap param) case PIPE_SHADER_CAP_TGSI_DFRACEXP_DLDEXP_SUPPORTED: case PIPE_SHADER_CAP_TGSI_LDEXP_SUPPORTED: case PIPE_SHADER_CAP_TGSI_FMA_SUPPORTED: - case PIPE_SHADER_CAP_MAX_SHADER_IMAGES: case PIPE_SHADER_CAP_LOWER_IF_THRESHOLD: case PIPE_SHADER_CAP_TGSI_SKIP_MERGE_REGISTERS: case PIPE_SHADER_CAP_MAX_HW_ATOMIC_COUNTERS: @@ -154,6 +153,8 @@ gallivm_get_shader_param(enum pipe_shader_cap param) return 32; case PIPE_SHADER_CAP_MAX_SHADER_BUFFERS: return LP_MAX_TGSI_SHADER_BUFFERS; + case PIPE_SHADER_CAP_MAX_SHADER_IMAGES: + return LP_MAX_TGSI_SHADER_IMAGES; } /* if we get here, we missed a shader cap above (and should have seen * a compiler warning.)