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/common/ac_nir_to_llvm.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/common/ac_nir_to_llvm.h')
-rw-r--r-- | src/amd/common/ac_nir_to_llvm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/common/ac_nir_to_llvm.h b/src/amd/common/ac_nir_to_llvm.h index 62ea38be373..1656289e06e 100644 --- a/src/amd/common/ac_nir_to_llvm.h +++ b/src/amd/common/ac_nir_to_llvm.h @@ -60,6 +60,8 @@ struct ac_tcs_variant_key { struct ac_fs_variant_key { uint32_t col_format; + uint8_t log2_ps_iter_samples; + uint8_t log2_num_samples; uint32_t is_int8; uint32_t is_int10; uint32_t multisample : 1; |