diff options
author | Dave Airlie <[email protected]> | 2019-07-20 14:29:00 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2019-08-27 12:30:22 +1000 |
commit | b7468f78317a12438f219f7556521a6ba20d84c4 (patch) | |
tree | dd68b647445897dc856719bb03441b3315f8d588 /src | |
parent | 6c2fa01b9c22dc5f4b701a4a8e701c92b6ac182d (diff) |
llvmpipe: enable ARB_shader_image_load_store
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_limits.h | 3 |
1 files changed, 2 insertions, 1 deletions
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.) |