summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_shader.h
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2019-02-22 14:16:08 +0100
committerBas Nieuwenhuizen <[email protected]>2019-02-22 17:06:55 +0100
commita1fdd4a4a73604469b6204a56457b08f8ae4a948 (patch)
treede32caddd959a1fd56c8a5218d7557cfeaf419bb /src/amd/vulkan/radv_shader.h
parentae2cb7280436ab3fe24afef510d30201e54b795c (diff)
radv: Fix float16 interpolation set up.
float16 types can have non-flat interpolation so set up the HW correctly for that. Fixes: 62024fa7750 "radv: enable VK_KHR_16bit_storage extension / 16bit storage features" Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_shader.h')
-rw-r--r--src/amd/vulkan/radv_shader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_shader.h b/src/amd/vulkan/radv_shader.h
index 8a66f5825c7..d9fc64aeb9a 100644
--- a/src/amd/vulkan/radv_shader.h
+++ b/src/amd/vulkan/radv_shader.h
@@ -266,6 +266,7 @@ struct radv_shader_variant_info {
unsigned num_interp;
uint32_t input_mask;
uint32_t flat_shaded_mask;
+ uint32_t float16_shaded_mask;
bool can_discard;
bool early_fragment_test;
} fs;