commit | 92c4277990799641d4986ce66a62366228713945 | [log] [tgz] |
---|---|---|
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | Sun Sep 10 19:19:40 2017 +0200 |
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | Wed Sep 13 18:25:41 2017 +0200 |
tree | 966612a47799ea5d93c9fb58bc6126fd5c50603e | |
parent | 792724a33745115fe06e079f88fafac74ed0b7f1 [diff] |
radeonsi: apply a mask to gl_SampleMaskIn in the PS prolog gl_SampleMaskIn is supposed to contain set bits only for the samples that are covered by the current fragment shader invocation, but the VGPR initialization hardware loads the set of all bits that are covered at the current pixel. Fixes various tests in dEQP-GLES31.functional.shaders.sample_variables.sample_mask_in.* Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Marek Olšák <marek.olsak@amd.com>