mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-09-13 09:16:14 -07:00
vkd3d-shader/spirv: Do not emit a fixme for SV_TARGET in get_spirv_builtin_for_sysval().
This commit is contained in:
parent
736f3ae2df
commit
f11e1461aa
Notes:
Alexandre Julliard
2023-12-04 22:54:06 +01:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/503
@ -4455,7 +4455,7 @@ static const struct vkd3d_spirv_builtin *get_spirv_builtin_for_sysval(
|
||||
enum vkd3d_shader_spirv_environment environment;
|
||||
unsigned int i;
|
||||
|
||||
if (!sysval)
|
||||
if (sysval == VKD3D_SHADER_SV_NONE || sysval == VKD3D_SHADER_SV_TARGET)
|
||||
return NULL;
|
||||
|
||||
/* In pixel shaders, SV_Position is mapped to SpvBuiltInFragCoord. */
|
||||
|
Loading…
Reference in New Issue
Block a user