summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_private.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2016-11-30 00:26:47 +0000
committerBas Nieuwenhuizen <[email protected]>2016-12-18 20:52:20 +0100
commitef5f59c9a979bbba7f42ba6cadc9dafdcac99380 (patch)
tree420cf279a9efcc2b1a5e3974c6b0b1abdf9335ab /src/amd/vulkan/radv_private.h
parent983af3a6d11d8d1dcd3c23514f92abceb664642f (diff)
radv: implement image->image copies using compute shader
This is required for having a separate compute queue, we probably can't use this on GFX queue due to DCC. v2: Set coord_components = 2 for itoi texture fetch. (Bas) Signed-off-by: Dave Airlie <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r--src/amd/vulkan/radv_private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index e58053b1be2..e9f0132aaaf 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -397,6 +397,11 @@ struct radv_meta_state {
VkDescriptorSetLayout img_ds_layout;
VkPipeline pipeline;
} btoi;
+ struct {
+ VkPipelineLayout img_p_layout;
+ VkDescriptorSetLayout img_ds_layout;
+ VkPipeline pipeline;
+ } itoi;
struct {
VkPipeline pipeline;