summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_private.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-04-04 12:12:02 +0200
committerSamuel Pitoiset <[email protected]>2018-04-05 10:03:42 +0200
commita8a696a38f432b67f24e0373343b20404f703d0e (patch)
tree7aebabd58219f0e7a6752fba1063ecb212880b8b /src/amd/vulkan/radv_private.h
parent8cd58df2f2592bf5a19ef7431eccaca6b8a445cc (diff)
radv: use a mask for VBOs and shaders prefetching
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> Tested-by: Dieter Nützel <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r--src/amd/vulkan/radv_private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index 4485efaa097..ca3beba2d41 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -915,13 +915,14 @@ struct radv_descriptor_state {
struct radv_cmd_state {
/* Vertex descriptors */
- bool vb_prefetch_dirty;
uint64_t vb_va;
unsigned vb_size;
bool predicating;
uint32_t dirty;
+ uint32_t prefetch_L2_mask;
+
struct radv_pipeline * pipeline;
struct radv_pipeline * emitted_pipeline;
struct radv_pipeline * compute_pipeline;