vkd3d-shader/d3d-asm: Fix 3D sampler declaration instruction name.

This commit is contained in:
Nikolay Sivov 2023-05-31 12:42:52 +02:00 committed by Alexandre Julliard
parent 7c360330d7
commit ccad49d486
Notes: Alexandre Julliard 2023-06-05 22:43:39 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Francisco Casas (@fcasas)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/220

View File

@ -646,7 +646,7 @@ static void shader_dump_decl_usage(struct vkd3d_d3d_asm_compiler *compiler,
break;
case VKD3D_SHADER_RESOURCE_TEXTURE_3D:
shader_addline(buffer, "_3d");
shader_addline(buffer, "_volume");
break;
case VKD3D_SHADER_RESOURCE_TEXTURE_CUBE: