gallium/st: correct range for int16
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 9 Apr 2021 06:35:02 +0000 (08:35 +0200)
committerMarge Bot <eric+marge@anholt.net>
Sat, 10 Apr 2021 09:22:12 +0000 (09:22 +0000)
commit6a2ee3b17c3711ef2044cd947cbadfd09ca90cad
tree1a58e23829122066802b03fecb3aa68d0da6b2e6
parent07a02a3390cb212eac28eaf63a3eb7b961b5cbac
gallium/st: correct range for int16

This fixes the following dEQP tests:

- dEQP-GLES3.functional.shaders.operator.unary_operator.minus.lowp_uvec2_fragment
- dEQP-GLES3.functional.shaders.operator.unary_operator.minus.lowp_uvec4_fragment
- dEQP-GLES3.functional.shaders.operator.unary_operator.minus.mediump_uvec2_fragment
- dEQP-GLES3.functional.shaders.operator.unary_operator.minus.mediump_uvec4_fragment

Fixes: 1af8fe4ed52 ("gallium: add shader caps INT16 and FP16_DERIVATIVES")
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
Tested-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10128>
src/mesa/state_tracker/st_extensions.c