OSDN Git Service

r600g: check shaders presence in r600_draw_vbo
authorVadim Girlin <vadimgirlin@gmail.com>
Fri, 2 Dec 2011 09:44:29 +0000 (13:44 +0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Dec 2011 14:53:35 +0000 (09:53 -0500)
commite98521e0f3ef430adc0eb2587ffe83844e24be06
tree6e47c3c75bd477c92526afcaf353cd0a50563cd3
parent81a715605af97f12e8907dba3d1de27addf5335f
r600g: check shaders presence in r600_draw_vbo

This patch should prevent the crashes when some shaders are absent,
see https://bugs.freedesktop.org/show_bug.cgi?id=43341

Note this is a candidate for the stable branch.

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/r600_state_common.c