summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorNanley Chery <[email protected]>2017-01-31 11:04:42 -0800
committerNanley Chery <[email protected]>2017-03-02 13:17:54 -0800
commitefc2222323b662ca20a23044a5d4b79157152fe5 (patch)
treeff6e1e4dc8d75538bb25a7801643ed0d250a58ef /src/intel/vulkan/anv_private.h
parentf3621f4e71a68aae76093ee2232d4027057c2e19 (diff)
anv/image: Create an additional surface state for sampling
This will be used to sample a depth input attachment without having to pass through the HiZ buffer. Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index 49ca510998f..b12012d36c6 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -1819,6 +1819,12 @@ struct anv_image_view {
struct anv_state sampler_surface_state;
/**
+ * RENDER_SURFACE_STATE when using image as a sampler surface with the
+ * auxiliary buffer disabled.
+ */
+ struct anv_state no_aux_sampler_surface_state;
+
+ /**
* RENDER_SURFACE_STATE when using image as a storage image. Separate states
* for write-only and readable, using the real format for write-only and the
* lowered format for readable.