From 7cae59012d98959a997ef96c217adba0dc8b3ed7 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Sun, 15 May 2016 21:31:38 -0700 Subject: anv/formats: Use the isl_channel_select enum for the swizzle --- src/intel/vulkan/anv_private.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/intel/vulkan/anv_private.h') 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 { -- cgit v1.2.3