Skip to content
Commit 87a05c22 authored by Dave Airlie's avatar Dave Airlie Committed by Andres Gomez
Browse files

virgl: don't send a shader create with no data. (v2)



This fixes the situation where we'd send a shader with just the
header and no data.

piglit/glsl-max-varyings test was causing this to happen, and
the renderer fix was breaking it.

v2: drop fprintf

Fixes: a8987b88 "virgl: add driver for virtio-gpu 3D (v2)"
Reviewed-by: default avatarErik Faye-Lund <erik.faye-lund@collabora.com>
(cherry picked from commit 240af614)
parent 5a734666
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment