mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/tpf: Write domain shader declarations.
This commit is contained in:
Notes:
Henri Verbeet
2024-10-21 18:41:50 +02:00
Approved-by: Elizabeth Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1194
@@ -6603,6 +6603,11 @@ static void tpf_write_shdr(struct tpf_compiler *tpf, struct hlsl_ir_function_dec
|
||||
tpf_write_dcl_tessellator_partitioning(tpf, ctx->partitioning);
|
||||
tpf_write_dcl_tessellator_output_primitive(tpf, ctx->output_primitive);
|
||||
}
|
||||
else if (version->type == VKD3D_SHADER_TYPE_DOMAIN)
|
||||
{
|
||||
tpf_write_dcl_input_control_point_count(tpf, 0); /* TODO: Obtain from OutputPatch */
|
||||
tpf_write_dcl_tessellator_domain(tpf, ctx->domain);
|
||||
}
|
||||
|
||||
LIST_FOR_EACH_ENTRY(cbuffer, &ctx->buffers, struct hlsl_buffer, entry)
|
||||
{
|
||||
|
Reference in New Issue
Block a user