glsl: handle int16 and uint16 types and add instructions for mediump
authorMarek Olšák <marek.olsak@amd.com>
Sat, 9 May 2020 02:16:42 +0000 (22:16 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 2 Jun 2020 20:01:18 +0000 (20:01 +0000)
commita052a9c27777fc2cc92ed7ac3cd820e828abf2f0
treeae41c54be09f5849f860789e38cbe9ff973146ea
parent9c14a87839d2937e07f69418285bbfc3c5b3e629
glsl: handle int16 and uint16 types and add instructions for mediump

v2: add more changes to ir_validate.cpp

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>
12 files changed:
src/compiler/glsl/glsl_to_nir.cpp
src/compiler/glsl/ir.cpp
src/compiler/glsl/ir.h
src/compiler/glsl/ir_constant_expression.cpp
src/compiler/glsl/ir_expression_operation.py
src/compiler/glsl/ir_print_visitor.cpp
src/compiler/glsl/ir_validate.cpp
src/compiler/glsl/opt_constant_propagation.cpp
src/compiler/glsl/opt_minmax.cpp
src/compiler/glsl_types.h
src/mesa/program/ir_to_mesa.cpp
src/mesa/state_tracker/st_glsl_to_tgsi.cpp