mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/msl: Ignore the interpolation mode for output variables.
They are meaningless, but some frontends (e.g., DXIL) set them nevertheless.
This commit is contained in:
committed by
Henri Verbeet
parent
19bc3ec104
commit
6ed0bd0bab
Notes:
Henri Verbeet
2025-07-28 16:39:33 +02:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1655
@@ -1796,13 +1796,6 @@ static void msl_generate_output_struct_declarations(struct msl_generator *gen)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (e->interpolation_mode != VKD3DSIM_NONE)
|
|
||||||
{
|
|
||||||
msl_compiler_error(gen, VKD3D_SHADER_ERROR_MSL_INTERNAL,
|
|
||||||
"Internal compiler error: Unhandled interpolation mode %#x.", e->interpolation_mode);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(e->register_count > 1)
|
if(e->register_count > 1)
|
||||||
{
|
{
|
||||||
msl_compiler_error(gen, VKD3D_SHADER_ERROR_MSL_INTERNAL,
|
msl_compiler_error(gen, VKD3D_SHADER_ERROR_MSL_INTERNAL,
|
||||||
|
Reference in New Issue
Block a user