vkd3d-shader/tpf: Fix a typo when adding the SFI0 section.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
Nikolay Sivov 2024-09-04 12:04:25 +02:00 committed by Henri Verbeet
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

View File

@ -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, /* FIXME: We also emit code that should require UAVS_AT_EVERY_STAGE,
* STENCIL_REF, and TYPED_UAV_LOAD_ADDITIONAL_FORMATS. */ * STENCIL_REF, and TYPED_UAV_LOAD_ADDITIONAL_FORMATS. */
if (flags) if (*flags)
dxbc_writer_add_section(dxbc, TAG_SFI0, flags, sizeof(*flags)); dxbc_writer_add_section(dxbc, TAG_SFI0, flags, sizeof(*flags));
else else
vkd3d_free(flags); vkd3d_free(flags);