glsl: lower mediump integer types to int16 and uint16

Graphics / Mesa 3D Graphics Library / Mesa - Marek Olšák [amd.com] - 2 June 2020 20:01 UTC

6fe20ebaaa9 glsl: lower mediump integer types to int16 and uint16
src/compiler/glsl/glsl_parser_extras.cpp | 4 +-
src/compiler/glsl/ir_optimization.h | 3 +-
src/compiler/glsl/lower_precision.cpp | 144 ++++-
src/compiler/glsl/standalone.cpp | 3 +-
src/compiler/glsl/tests/lower_precision_test.py | 731 +++++++++++++++++++++++-
src/mesa/main/mtypes.h | 3 +-
src/mesa/state_tracker/st_extensions.c | 2 +-
7 files changed, 837 insertions(+), 53 deletions(-)

Upstream: cgit.freedesktop.org


  • Share