summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2016-01-26 10:27:58 -0500
committerNicolai Hähnle <nicolai.haehnle@amd.com>2016-02-03 14:10:34 +0100
commit6af6d7b08af5d14b7a5848c87c01ae3c711c7963 (patch)
tree64d8afcae6ad40bc10d3e7c26091111173d3125c /src/gallium/drivers/ilo
parent3abb548ef681a63a077f7e6cbf36988426b244c0 (diff)
downloadexternal_mesa3d-6af6d7b08af5d14b7a5848c87c01ae3c711c7963.zip
external_mesa3d-6af6d7b08af5d14b7a5848c87c01ae3c711c7963.tar.gz
external_mesa3d-6af6d7b08af5d14b7a5848c87c01ae3c711c7963.tar.bz2
gallium: Add PIPE_CAP_SURFACE_REINTERPRET_BLOCKS
This cap indicates whether pipe->create_surface can reinterpret a texture as a surface with a format of different block width/height (but equal block size). v2: fix whitespace Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/gallium/drivers/ilo')
-rw-r--r--src/gallium/drivers/ilo/ilo_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_screen.c b/src/gallium/drivers/ilo/ilo_screen.c
index 17ab690..b81057b 100644
--- a/src/gallium/drivers/ilo/ilo_screen.c
+++ b/src/gallium/drivers/ilo/ilo_screen.c
@@ -488,6 +488,7 @@ ilo_get_param(struct pipe_screen *screen, enum pipe_cap param)
case PIPE_CAP_INVALIDATE_BUFFER:
case PIPE_CAP_GENERATE_MIPMAP:
case PIPE_CAP_STRING_MARKER:
+ case PIPE_CAP_SURFACE_REINTERPRET_BLOCKS:
return 0;
case PIPE_CAP_VENDOR_ID: