mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
zink: emit SpvCapabilitySampleRateShading with SampleId
required by spec cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25914>
This commit is contained in:
parent
f2fb2df6a3
commit
7035b5a8e8
1 changed files with 1 additions and 0 deletions
|
|
@ -3295,6 +3295,7 @@ emit_intrinsic(struct ntv_context *ctx, nir_intrinsic_instr *intr)
|
|||
break;
|
||||
|
||||
case nir_intrinsic_load_sample_id:
|
||||
spirv_builder_emit_cap(&ctx->builder, SpvCapabilitySampleRateShading);
|
||||
emit_load_uint_input(ctx, intr, &ctx->sample_id_var, "gl_SampleId", SpvBuiltInSampleId);
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue