mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-09-13 09:16:14 -07:00
vkd3d-shader/tpf: Fix a typo when adding the SFI0 section.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
parent
a214e96cf8
commit
0a6bcf5da7
Notes:
Henri Verbeet
2024-09-04 18:51:25 +02:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1035
@ -6110,7 +6110,7 @@ static void write_sm4_sfi0(struct hlsl_ctx *ctx, struct dxbc_writer *dxbc)
|
||||
/* FIXME: We also emit code that should require UAVS_AT_EVERY_STAGE,
|
||||
* STENCIL_REF, and TYPED_UAV_LOAD_ADDITIONAL_FORMATS. */
|
||||
|
||||
if (flags)
|
||||
if (*flags)
|
||||
dxbc_writer_add_section(dxbc, TAG_SFI0, flags, sizeof(*flags));
|
||||
else
|
||||
vkd3d_free(flags);
|
||||
|
Loading…
Reference in New Issue
Block a user