diff options
author | Dave Airlie <[email protected]> | 2018-01-23 11:07:26 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-01-24 14:25:11 +1000 |
commit | 766589d89a211e67f313e8cb38f2d05b09975f96 (patch) | |
tree | 234e72787ce72b10a4495dc6aa3d046d11b86287 /src/amd/vulkan/radv_private.h | |
parent | c727ea9370adc5362e00208b9f1481764b8ef215 (diff) |
radv: fix sample_mask_in loading. (v3.1)
This is ported from radeonsi and fixes:
dEQP-VK.pipeline.multisample_shader_builtin.sample_mask.bit_*
v2: don't call this path for radeonsi, it does it in the epilog.
use the radeonsi code path.
v3: handle NULL pCreateInfo->pMultisampleState properly (Samuel)
v3.1: set ps_iter_samples default to 1 (Bas)
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Fixes: bdcbe7c76 (radv: add sample mask input support)
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 808db0007dc..711ae719266 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -331,6 +331,8 @@ struct radv_pipeline_key { uint32_t col_format; uint32_t is_int8; uint32_t is_int10; + uint8_t log2_ps_iter_samples; + uint8_t log2_num_samples; uint32_t multisample : 1; uint32_t has_multiview_view_index : 1; }; |