Skip to content
Snippets Groups Projects
Commit ea5624e5 authored by Conor McCarthy's avatar Conor McCarthy Committed by Alexandre Julliard
Browse files

vkd3d-shader/dxil: Emit bool inputs and outputs as uint.

DXIL reads/writes uint for these.
parent 5b719128
No related branches found
No related tags found
1 merge request!857vkd3d-shader: Miscellaneous SM 6 patches.
......@@ -9387,6 +9387,10 @@ static enum vkd3d_result sm6_parser_read_signature(struct sm6_parser *sm6, const
e->used_mask <<= index;
}
/* DXIL reads/writes uint for bool I/O. */
if (e->component_type == VKD3D_SHADER_COMPONENT_BOOL)
e->component_type = VKD3D_SHADER_COMPONENT_UINT;
m = element_node->operands[4];
if (!sm6_metadata_value_is_node(m))
{
......
......@@ -49,5 +49,5 @@ float4 main(struct input i) : sv_target
}
[test]
todo(sm>=6 | glsl) draw triangle strip 4
todo(glsl) draw triangle strip 4
probe all rgba (0.0, 2.0, 2.0, 2.0)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment