mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Parse ConstructGSWithSO().
This commit is contained in:
committed by
Henri Verbeet
parent
1f9fc2a422
commit
4aa262d773
Notes:
Henri Verbeet
2024-09-14 16:53:12 +02:00
Approved-by: Elizabeth Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1057
@@ -1878,6 +1878,10 @@ struct hlsl_ir_node *hlsl_new_compile(struct hlsl_ctx *ctx, enum hlsl_compile_ty
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case HLSL_COMPILE_TYPE_CONSTRUCTGSWITHSO:
|
||||
type = hlsl_get_type(ctx->cur_scope, "GeometryShader", true, true);
|
||||
break;
|
||||
}
|
||||
|
||||
if (!(compile = hlsl_alloc(ctx, sizeof(*compile))))
|
||||
@@ -3314,6 +3318,10 @@ static void dump_ir_compile(struct hlsl_ctx *ctx, struct vkd3d_string_buffer *bu
|
||||
case HLSL_COMPILE_TYPE_COMPILE:
|
||||
vkd3d_string_buffer_printf(buffer, "compile %s {\n", compile->profile->name);
|
||||
break;
|
||||
|
||||
case HLSL_COMPILE_TYPE_CONSTRUCTGSWITHSO:
|
||||
vkd3d_string_buffer_printf(buffer, "ConstructGSWithSO {\n");
|
||||
break;
|
||||
}
|
||||
|
||||
dump_block(ctx, buffer, &compile->instrs);
|
||||
|
Reference in New Issue
Block a user