vk_graphics_pipeline: Implement viewport swizzles with NV_viewport_swizzle

This commit is contained in:
ReinUsesLisp 2020-05-04 18:31:17 -03:00
parent f813cd3ff7
commit 2dbf5290f2
8 changed files with 84 additions and 0 deletions

View file

@ -630,6 +630,7 @@ public:
f32 translate_y;
f32 translate_z;
union {
u32 raw;
BitField<0, 3, ViewportSwizzle> x;
BitField<4, 3, ViewportSwizzle> y;
BitField<8, 3, ViewportSwizzle> z;