mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 09:10:12 +01:00
microsoft/compiler: Handle GLES external textures
Reviewed-by: Bill Kristiansen <billkris@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13054>
This commit is contained in:
parent
2188607014
commit
5bfbf4bec9
1 changed files with 1 additions and 0 deletions
|
|
@ -88,6 +88,7 @@ enum dxil_resource_kind dxil_get_resource_kind(const struct glsl_type *type)
|
|||
return is_array ? DXIL_RESOURCE_KIND_TEXTURE1D_ARRAY
|
||||
: DXIL_RESOURCE_KIND_TEXTURE1D;
|
||||
case GLSL_SAMPLER_DIM_2D:
|
||||
case GLSL_SAMPLER_DIM_EXTERNAL:
|
||||
return is_array ? DXIL_RESOURCE_KIND_TEXTURE2D_ARRAY
|
||||
: DXIL_RESOURCE_KIND_TEXTURE2D;
|
||||
case GLSL_SAMPLER_DIM_3D:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue