mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d-shader: Expose the whole profile when dumping an HLSL shader.
The profile cannot be reliably devised by analyzing the HLSL code, so it's useful to have it included in the file name.
This commit is contained in:
committed by
Alexandre Julliard
parent
ecdc3f39d4
commit
ab09c0b45b
Notes:
Alexandre Julliard
2023-11-02 22:49:26 +01:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/424
@@ -3633,7 +3633,7 @@ int hlsl_compile_shader(const struct vkd3d_shader_code *hlsl, const struct vkd3d
|
||||
return VKD3D_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
vkd3d_shader_dump_shader(compile_info->source_type, profile->type, &compile_info->source);
|
||||
vkd3d_shader_dump_shader(compile_info->source_type, profile->name, &compile_info->source);
|
||||
|
||||
if (compile_info->target_type == VKD3D_SHADER_TARGET_D3D_BYTECODE && profile->major_version > 3)
|
||||
{
|
||||
|
Reference in New Issue
Block a user