mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Use a simple counter for indexable temps.
This commit is contained in:
committed by
Henri Verbeet
parent
8db9465693
commit
a44d79a13c
Notes:
Henri Verbeet
2025-09-04 14:12:02 +02:00
Approved-by: Francisco Casas (@fcasas) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1713
@@ -1187,8 +1187,8 @@ struct hlsl_ctx
|
||||
} constant_defs;
|
||||
/* 'c' registers where the constants expected by SM2 sincos are stored. */
|
||||
struct hlsl_reg d3dsincosconst1, d3dsincosconst2;
|
||||
/* Number of allocated SSA and temp IDs, used in translation to vsir. */
|
||||
unsigned int ssa_count, temp_count;
|
||||
/* Number of allocated registers, used in translation to vsir. */
|
||||
unsigned int ssa_count, temp_count, indexable_temp_count;
|
||||
|
||||
/* Number of threads to be executed (on the X, Y, and Z dimensions) in a single thread group in
|
||||
* compute shader profiles. It is set using the numthreads() attribute in the entry point. */
|
||||
|
||||
Reference in New Issue
Block a user