turnip: fix binning shader compilation
authorJonathan Marek <jonathan@marek.ca>
Tue, 24 Sep 2019 18:36:53 +0000 (14:36 -0400)
committerJonathan Marek <jonathan@marek.ca>
Wed, 25 Sep 2019 02:32:09 +0000 (22:32 -0400)
commitf510901dc247b038715c1397b1c99746d5ed8df4
treeebef50285861c9fed871a7487acd8c3eeca43613
parent12372d60fff676c458c7a54a934f619548337f0e
turnip: fix binning shader compilation

ir3 segfaults if nonbinning is NULL for the bininng pass shader.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/freedreno/vulkan/tu_shader.c