pan/bi: Preload sample ID for sample shading

Used in the LD_VAR_IMM. Wondering if preload requirements shouldn't
instead be pushed from the compiler based on actual usage instead of
guessing from the NIR...

Fixes dEQP-GLES31.functional.shaders.multisample_interpolation.sample_qualifier.*

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9105>
This commit is contained in:
Alyssa Rosenzweig 2021-02-16 18:45:46 -05:00 committed by Marge Bot
parent 96ea2c3e9d
commit 1f265ef6c1
1 changed files with 2 additions and 1 deletions

View File

@ -139,7 +139,8 @@ pan_shader_prepare_bifrost_rsd(const struct pan_shader_info *info,
info->fs.reads_sample_id |
info->fs.reads_sample_pos |
info->fs.reads_sample_mask_in |
info->fs.reads_helper_invocation;
info->fs.reads_helper_invocation |
info->fs.sample_shading;
break;
case MESA_SHADER_COMPUTE: