d3d12: Sample mask output needs to be uint-typed

Reviewed-by: Sil Vilerino <sivileri@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14624>
This commit is contained in:
Jesse Natalie 2022-01-13 09:44:26 -08:00 committed by Marge Bot
parent f915bc56a4
commit 7ad089c66e
1 changed files with 1 additions and 1 deletions

View File

@ -1141,7 +1141,7 @@ d3d12_create_shader(struct d3d12_context *ctx,
0 : VARYING_BIT_PRIMITIVE_ID;
uint64_t out_mask = nir->info.stage == MESA_SHADER_FRAGMENT ?
(1ull << FRAG_RESULT_STENCIL) :
(1ull << FRAG_RESULT_STENCIL) | (1ull << FRAG_RESULT_SAMPLE_MASK) :
VARYING_BIT_PRIMITIVE_ID;
d3d12_fix_io_uint_type(nir, in_mask, out_mask);