virgl: also remove dimension on indirect.
authorDave Airlie <airlied@redhat.com>
Mon, 13 Nov 2017 20:52:06 +0000 (06:52 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 31 Jan 2018 02:24:11 +0000 (12:24 +1000)
commit49c61d8b841538e09b8c2b2d2f409147fd7b549a
tree7b711b5ae3cfa65357d9f6731bc10df8acd81890
parentfdf01d02449ba76c7c69ef94f4cdfd207b8b9cf1
virgl: also remove dimension on indirect.

This fixes some dEQP tests that generated bad shaders.

Fixes: b6f6ead19 (virgl: drop const dimensions on first block.)
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/virgl/virgl_tgsi.c