mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d-shader/spirv: Make output varyings not consumed by the next stage private variables.
This commit is contained in:
committed by
Alexandre Julliard
parent
11475ef62a
commit
d932fba7c3
Notes:
Alexandre Julliard
2023-08-03 21:25:28 +09:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/280
@@ -809,6 +809,8 @@ enum vkd3d_shader_input_sysval_semantic
|
||||
VKD3D_SIV_LINE_DENSITY_TESS_FACTOR = 22,
|
||||
};
|
||||
|
||||
#define SIGNATURE_TARGET_LOCATION_UNUSED (~0u)
|
||||
|
||||
struct signature_element
|
||||
{
|
||||
unsigned int sort_index;
|
||||
@@ -823,7 +825,8 @@ struct signature_element
|
||||
unsigned int mask;
|
||||
unsigned int used_mask;
|
||||
enum vkd3d_shader_minimum_precision min_precision;
|
||||
/* Register index / location in the target shader. */
|
||||
/* Register index / location in the target shader.
|
||||
* If SIGNATURE_TARGET_LOCATION_UNUSED, this element should not be written. */
|
||||
unsigned int target_location;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user