gallium/vl: fix compute tgsi shaders to not process undefined components
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 26 Jul 2019 03:18:18 +0000 (23:18 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 27 Jul 2019 22:24:11 +0000 (18:24 -0400)
commitface27fdc5293606faf38f91cc6235b2b3fc6071
tree8a328a283f872320242364744c8ebd66a313ac73
parent159abd527ec191e8274876162b30079c4ea39600
gallium/vl: fix compute tgsi shaders to not process undefined components

This caused nouveau's function handling logic to think that the MAIN
function was due to receive external parameters, and cascaded some
failures after that. Instead avoid having the undefined components in
the first place.

Fixes: f6ac0b5d71 (gallium/auxiliary/vl: Add compute shader to support video compositor render)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111213
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111217
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/vl/vl_compositor_cs.c