Skip to content
Snippets Groups Projects
Commit 23be6ed0 authored by Francisco Casas's avatar Francisco Casas Committed by Henri Verbeet
Browse files

vkd3d-shader/hlsl: Store temp declarations in the vsir program.

Move the temp allocation back to hlsl_codegen.c.

Note that the DCL_TEMPS instructions wouldn't be necessary if we had the
capacity to store the temp_count for both the main program and the patch
constant program (or more generally speaking, a temp_count for all
phases).

The plan is to eventually also move the HS_CONTROL_POINT and
HS_FORK_PHASE markers to the vsir_program, making it able to contain
both functions.
parent 158bf794
No related branches found
No related tags found
1 merge request!1210vkd3d-shader/tpf: Compile HLSL to tpf through vsir, part 2.
Loading
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