mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/hlsl: Fix sampler type used for samplerCUBE.
This commit is contained in:
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
@ -5242,7 +5242,7 @@ type_no_void:
|
|||||||
}
|
}
|
||||||
| KW_SAMPLERCUBE
|
| KW_SAMPLERCUBE
|
||||||
{
|
{
|
||||||
$$ = ctx->builtin_types.sampler[HLSL_SAMPLER_DIM_3D];
|
$$ = ctx->builtin_types.sampler[HLSL_SAMPLER_DIM_CUBE];
|
||||||
}
|
}
|
||||||
| KW_TEXTURE
|
| KW_TEXTURE
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user