Skip to content
Commit 9f44726f authored by Dave Airlie's avatar Dave Airlie Committed by Emil Velikov
Browse files

radv: fix issue with multisample positions and interp_var_at_sample.



This fixes vmfaults seen on vega with:
dEQP-VK.pipeline.multisample_interpolation.sample_interpolate_at_single_sample_.128_128_1.samples_1

These were caused by the don't allocate cmask but it was just accidental.

The actual problem was the shader was trying to get the sample positions from
a buffer, but the buffer was never getting configured to contain them, as the
previous shader never needed them.

Reviewed-by: default avatarSamuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: default avatarBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fixes: 1171b304 (radv: overhaul fragment shader sample positions.)
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
(cherry picked from commit b81f1a59)
parent 8a1db81b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment