summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_exec.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-03-22 07:59:35 +1000
committerDave Airlie <airlied@redhat.com>2016-03-31 09:14:16 +1000
commiteb9ad9faa3975fc4f044b81d3b4b793866ef5563 (patch)
treeab644c9094434e86972502d324af0c94d3371b73 /src/gallium/auxiliary/tgsi/tgsi_exec.h
parent0d1f679dedfb47944259e846d7f2eadbcf0907ca (diff)
downloadexternal_mesa3d-eb9ad9faa3975fc4f044b81d3b4b793866ef5563.zip
external_mesa3d-eb9ad9faa3975fc4f044b81d3b4b793866ef5563.tar.gz
external_mesa3d-eb9ad9faa3975fc4f044b81d3b4b793866ef5563.tar.bz2
softpipe: add image support to softpipe (v3)
This adds support for ARB_shader_image_load_store to softpipe. v2: add RESQ support (Ilia) v3: constify, cleanup internals, add some comments (Brian). Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_exec.h')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_exec.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.h b/src/gallium/auxiliary/tgsi/tgsi_exec.h
index 2c81d5e..45fb8d4 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_exec.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_exec.h
@@ -497,8 +497,10 @@ tgsi_exec_get_shader_param(enum pipe_shader_cap param)
case PIPE_SHADER_CAP_TGSI_DROUND_SUPPORTED:
case PIPE_SHADER_CAP_TGSI_FMA_SUPPORTED:
case PIPE_SHADER_CAP_MAX_SHADER_BUFFERS:
- case PIPE_SHADER_CAP_MAX_SHADER_IMAGES:
return 0;
+ case PIPE_SHADER_CAP_MAX_SHADER_IMAGES:
+ return PIPE_MAX_SHADER_IMAGES;
+
case PIPE_SHADER_CAP_MAX_UNROLL_ITERATIONS_HINT:
return 32;
}