glsl: lower mediump integer types to int16 and uint16
authorMarek Olšák <marek.olsak@amd.com>
Sat, 9 May 2020 02:42:43 +0000 (22:42 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 2 Jun 2020 20:01:18 +0000 (20:01 +0000)
commit6fe20ebaaa933ddd17b655e61ba3fe3d358b8513
tree721e7e5e27610628a6dc053c1e54ffcfd815d62f
parenta052a9c27777fc2cc92ed7ac3cd820e828abf2f0
glsl: lower mediump integer types to int16 and uint16

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5002>
src/compiler/glsl/glsl_parser_extras.cpp
src/compiler/glsl/ir_optimization.h
src/compiler/glsl/lower_precision.cpp
src/compiler/glsl/standalone.cpp
src/compiler/glsl/tests/lower_precision_test.py
src/mesa/main/mtypes.h
src/mesa/state_tracker/st_extensions.c