mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/glsl: Ignore the PARTIALPRECISION destination modifier.
This commit is contained in:
committed by
Henri Verbeet
parent
df8b611334
commit
9f5db1e3e4
Notes:
Henri Verbeet
2025-06-02 21:02:17 +02:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1527
@@ -495,6 +495,9 @@ static void VKD3D_PRINTF_FUNC(4, 0) shader_glsl_vprint_assignment(struct vkd3d_g
|
|||||||
uint32_t modifiers = dst->vsir->modifiers;
|
uint32_t modifiers = dst->vsir->modifiers;
|
||||||
bool close = true;
|
bool close = true;
|
||||||
|
|
||||||
|
/* It is always legitimate to ignore _pp. */
|
||||||
|
modifiers &= ~VKD3DSPDM_PARTIALPRECISION;
|
||||||
|
|
||||||
if (dst->vsir->shift)
|
if (dst->vsir->shift)
|
||||||
vkd3d_glsl_compiler_error(gen, VKD3D_SHADER_ERROR_GLSL_INTERNAL,
|
vkd3d_glsl_compiler_error(gen, VKD3D_SHADER_ERROR_GLSL_INTERNAL,
|
||||||
"Internal compiler error: Unhandled destination shift %#x.", dst->vsir->shift);
|
"Internal compiler error: Unhandled destination shift %#x.", dst->vsir->shift);
|
||||||
|
Reference in New Issue
Block a user