mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Implement the "earlydepthstencil" attribute.
This commit is contained in:
committed by
Henri Verbeet
parent
fe8a2f820b
commit
e61046fb23
Notes:
Henri Verbeet
2024-09-12 18:57:32 +02:00
Approved-by: Elizabeth Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1063
@@ -603,6 +603,8 @@ struct hlsl_ir_function_decl
|
||||
unsigned int attr_count;
|
||||
const struct hlsl_attribute *const *attrs;
|
||||
|
||||
bool early_depth_test;
|
||||
|
||||
/* Synthetic boolean variable marking whether a return statement has been
|
||||
* executed. Needed to deal with return statements in non-uniform control
|
||||
* flow, since some backends can't handle them. */
|
||||
|
Reference in New Issue
Block a user