llvmpipe: fix bogus assertions for buffer surfaces
authorRoland Scheidegger <sroland@vmware.com>
Sat, 1 Jun 2013 14:48:03 +0000 (16:48 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Sat, 1 Jun 2013 18:03:59 +0000 (20:03 +0200)
commitf51fc7a71c272ad28e157d1d8f642649c3b5487b
tree32497408bbf84fb18dad32faebae3a09c0e15a22
parent4405ff4055685841c9d9545da52c7edc8708b14b
llvmpipe: fix bogus assertions for buffer surfaces

One of the assertion made no sense for buffer rendertargets
(due to the union), so drop it. (The same assertion is present already in
the path for texture surfaces later.).

v2: make assertion completely accurate (suggested by Jose).

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