mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-12-15 08:03:30 -08:00
vkd3d-shader/fx: Implement shader initializers.
This commit is contained in:
committed by
Henri Verbeet
parent
6e15664bff
commit
ffc8f98bba
Notes:
Henri Verbeet
2025-12-09 17:21:48 +01:00
Approved-by: Francisco Casas (@fcasas) Approved-by: Nikolay Sivov (@nsivov) Approved-by: Elizabeth Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1340
@@ -501,6 +501,8 @@ struct hlsl_ir_var
|
||||
const char *string;
|
||||
/* Default value, in case the component is a numeric value. */
|
||||
union hlsl_constant_value_component number;
|
||||
/* Default value, in case the component is a shader. otherwise it is NULL. */
|
||||
struct hlsl_ir_compile *shader;
|
||||
} *default_values;
|
||||
|
||||
/* Pointer to the temp copy of the variable, in case it is uniform. */
|
||||
|
||||
Reference in New Issue
Block a user