summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-05-15 21:31:38 -0700
committerJason Ekstrand <[email protected]>2016-05-17 12:17:22 -0700
commit7cae59012d98959a997ef96c217adba0dc8b3ed7 (patch)
tree1fe5d14f21e30fd1ac1435365650930e54cc8920 /src/intel/vulkan/anv_private.h
parent8ed429a4f0d58eafe3e3212552af6fb0cb78feeb (diff)
anv/formats: Use the isl_channel_select enum for the swizzle
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index 040d0c7806b..926a71fd9b1 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -1507,10 +1507,10 @@ anv_graphics_pipeline_create(VkDevice device,
VkPipeline *pPipeline);
struct anv_format_swizzle {
- unsigned r:2;
- unsigned g:2;
- unsigned b:2;
- unsigned a:2;
+ enum isl_channel_select r:4;
+ enum isl_channel_select g:4;
+ enum isl_channel_select b:4;
+ enum isl_channel_select a:4;
};
struct anv_format {