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:
parent
f915bc56a4
commit
7ad089c66e
|
@ -1141,7 +1141,7 @@ d3d12_create_shader(struct d3d12_context *ctx,
|
||||||
0 : VARYING_BIT_PRIMITIVE_ID;
|
0 : VARYING_BIT_PRIMITIVE_ID;
|
||||||
|
|
||||||
uint64_t out_mask = nir->info.stage == MESA_SHADER_FRAGMENT ?
|
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;
|
VARYING_BIT_PRIMITIVE_ID;
|
||||||
|
|
||||||
d3d12_fix_io_uint_type(nir, in_mask, out_mask);
|
d3d12_fix_io_uint_type(nir, in_mask, out_mask);
|
||||||
|
|
Loading…
Reference in New Issue