gallivm/tgsi: fix stream id regression
authorDave Airlie <airlied@redhat.com>
Tue, 25 Feb 2020 21:03:33 +0000 (07:03 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 26 Feb 2020 22:33:18 +0000 (22:33 +0000)
commit954cf8e86b6e0d52c04098604d2daa4305bf6f70
tree653142398028efd555e3036d9976b1f028cb8f7a
parent4449611ffbb0087a6d2407fb0d25496806df157b
gallivm/tgsi: fix stream id regression

This broke TGSI GS shaders with llvmpipe, it wasn't looking at the
right immediates and it should be cast to an integer type.

Fixes: 163d5fde0669 (gallium/swr: Enable GL_ARB_gpu_shader5: multiple streams)
Reviewed-by: Krzysztof Raszkowski <krzysztof.raszkowski@intel.com>
Acked-by: Jan Zielinski <jan.zielinski@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3949>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3949>
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c