mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader: Keep track of whether programs have normalised I/O.
This commit is contained in:
committed by
Henri Verbeet
parent
7ae1284c16
commit
eba8fd4720
Notes:
Henri Verbeet
2024-10-17 17:40:38 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1196
@@ -2792,7 +2792,8 @@ static bool shader_sm4_init(struct vkd3d_shader_sm4_parser *sm4, struct vsir_pro
|
||||
version.minor = VKD3D_SM4_VERSION_MINOR(version_token);
|
||||
|
||||
/* Estimate instruction count to avoid reallocation in most shaders. */
|
||||
if (!vsir_program_init(program, compile_info, &version, token_count / 7u + 20, VSIR_CF_STRUCTURED))
|
||||
if (!vsir_program_init(program, compile_info,
|
||||
&version, token_count / 7u + 20, VSIR_CF_STRUCTURED, false))
|
||||
return false;
|
||||
vkd3d_shader_parser_init(&sm4->p, program, message_context, compile_info->source_name);
|
||||
sm4->ptr = sm4->start;
|
||||
|
Reference in New Issue
Block a user