llvmpipe: don't assert when trying to render to surfaces with multiple layers
authorRoland Scheidegger <sroland@vmware.com>
Wed, 13 Mar 2013 20:23:18 +0000 (21:23 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Wed, 13 Mar 2013 23:22:30 +0000 (00:22 +0100)
commit9e93d7c4fd59d49b4a660d4dcfddca6f86611af6
treeeeb4a95110a0f3df22b48615ac753a5f8e977deb
parent81e728982da61f66c39a44b18460307425c22c1b
llvmpipe: don't assert when trying to render to surfaces with multiple layers

instead just warn when creating the surface, rendering will simply happen
to first layer.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/drivers/llvmpipe/lp_scene.c
src/gallium/drivers/llvmpipe/lp_texture.c