Mesa (main): microsoft/compiler: Handle GLES external textures
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Nov 19 23:20:52 UTC 2021
Module: Mesa
Branch: main
Commit: 5bfbf4bec990bc03142b7ecb19b616533ddece7b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5bfbf4bec990bc03142b7ecb19b616533ddece7b
Author: Jesse Natalie <jenatali at microsoft.com>
Date: Wed Jul 21 11:44:48 2021 -0700
microsoft/compiler: Handle GLES external textures
Reviewed-by: Bill Kristiansen <billkris at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13054>
---
src/microsoft/compiler/dxil_enums.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/microsoft/compiler/dxil_enums.c b/src/microsoft/compiler/dxil_enums.c
index 44de92c7325..ce49b80a521 100644
--- a/src/microsoft/compiler/dxil_enums.c
+++ b/src/microsoft/compiler/dxil_enums.c
@@ -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:
More information about the mesa-commit
mailing list