diff options
author | Dave Airlie <[email protected]> | 2017-11-01 09:40:33 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-11-01 10:07:03 +1000 |
commit | d3fdd66401b3c3853162d13b452cd19c03354ede (patch) | |
tree | e615a7a25c0fd7cf8004064adfa55c021deb0672 /src/gallium/drivers/r600/r600_pipe.c | |
parent | 69eee511c631a8372803f175bd6f5a9551230424 (diff) |
gallium: add cap for driver specified max combined shader resources.
Some hw (evergreen) has a limit on how many combined (images/buffers/mrts)
a fragment shader can access.
Reviewed-by: Ilia Mirkin <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index ffcaa15ec9b..3648f7d14ee 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -404,6 +404,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_LOAD_CONSTBUF: case PIPE_CAP_TGSI_ANY_REG_AS_ADDRESS: case PIPE_CAP_TILE_RASTER_ORDER: + case PIPE_CAP_MAX_COMBINED_SHADER_OUTPUT_RESOURCES: return 0; case PIPE_CAP_DOUBLES: |