mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d-shader/hlsl: Emit the minimum-precision SFI0 flag.
This commit is contained in:
committed by
Henri Verbeet
parent
6cdfe38319
commit
bd34ec1fb3
Notes:
Henri Verbeet
2025-03-06 17:32:40 +01:00
Approved-by: Francisco Casas (@fcasas) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1387
@ -4251,6 +4251,9 @@ static void tpf_write_sfi0(struct tpf_compiler *tpf)
|
|||||||
if (tpf->program->features.rovs)
|
if (tpf->program->features.rovs)
|
||||||
*flags |= DXBC_SFI0_REQUIRES_ROVS;
|
*flags |= DXBC_SFI0_REQUIRES_ROVS;
|
||||||
|
|
||||||
|
if (tpf->program->global_flags & VKD3DSGF_ENABLE_MINIMUM_PRECISION)
|
||||||
|
*flags |= DXBC_SFI0_REQUIRES_MINIMUM_PRECISION;
|
||||||
|
|
||||||
/* 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. */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user