mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 10:50:10 +01:00
ttn: Set sample shading for sample ID reads
Fixes on asahi arb_stencil_texturing-blit_corrupts_state -auto GL_TEXTURE_2D_MULTISAMPLE. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26011>
This commit is contained in:
parent
95ad0c750c
commit
cd0a01522f
1 changed files with 1 additions and 0 deletions
|
|
@ -630,6 +630,7 @@ ttn_src_for_file_and_index(struct ttn_compile *c, unsigned file, unsigned index,
|
|||
break;
|
||||
case TGSI_SEMANTIC_SAMPLEID:
|
||||
load = nir_load_sample_id(b);
|
||||
b->shader->info.fs.uses_sample_shading = true;
|
||||
break;
|
||||
default:
|
||||
unreachable("bad system value");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue