mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d-shader/hlsl: Store state block on pass variables.
This commit is contained in:
committed by
Alexandre Julliard
parent
a99bcb1196
commit
ef9ae22ed0
Notes:
Alexandre Julliard
2024-04-11 17:02:42 -05:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Zebediah Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/739
@@ -115,6 +115,9 @@ static uint32_t write_string(const char *string, struct fx_write_context *fx)
|
||||
|
||||
static void write_pass(struct hlsl_ir_var *var, struct fx_write_context *fx)
|
||||
{
|
||||
if (var->state_block_count)
|
||||
hlsl_fixme(fx->ctx, &var->loc, "Write state block assignments.");
|
||||
|
||||
fx->ops->write_pass(var, fx);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user