vkd3d-shader/hlsl: Fix sampler type used for samplerCUBE.

This commit is contained in:
Nikolay Sivov 2023-06-02 10:39:42 +02:00 committed by Alexandre Julliard
parent ccad49d486
commit 82ddc6b417
Notes: Alexandre Julliard 2023-06-05 22:43:58 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Zebediah Figura (@zfigura)
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/222

View File

@ -5242,7 +5242,7 @@ type_no_void:
}
| KW_SAMPLERCUBE
{
$$ = ctx->builtin_types.sampler[HLSL_SAMPLER_DIM_3D];
$$ = ctx->builtin_types.sampler[HLSL_SAMPLER_DIM_CUBE];
}
| KW_TEXTURE
{