Module: Mesa Branch: 19.2 Commit: 05d5784ea60a92f75209a170d98f02b415262506 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=05d5784ea60a92f75209a170d98f02b415262506
Author: Yevhenii Kolesnikov <[email protected]> Date: Mon Oct 7 15:59:52 2019 +0300 glsl: Enable textureSize for samplerExternalOES From OES_EGL_image_external_essl3 Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1901 Signed-off-by: Yevhenii Kolesnikov <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Acked-by: Tapani Pälli <[email protected]> --- src/compiler/glsl/builtin_functions.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compiler/glsl/builtin_functions.cpp b/src/compiler/glsl/builtin_functions.cpp index 95d45033a01..3c3e9b4f8c8 100644 --- a/src/compiler/glsl/builtin_functions.cpp +++ b/src/compiler/glsl/builtin_functions.cpp @@ -2094,6 +2094,8 @@ builtin_builder::create_builtins() _textureSize(texture_multisample_array, glsl_type::ivec3_type, glsl_type::sampler2DMSArray_type), _textureSize(texture_multisample_array, glsl_type::ivec3_type, glsl_type::isampler2DMSArray_type), _textureSize(texture_multisample_array, glsl_type::ivec3_type, glsl_type::usampler2DMSArray_type), + + _textureSize(texture_external_es3, glsl_type::ivec2_type, glsl_type::samplerExternalOES_type), NULL); add_function("textureSize1D", _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
