[Mesa-dev] [PATCH 2/2] draw/llvm: set draw->pt.user.planes field in draw_set_clip_state()

Jose Fonseca jfonseca at vmware.com
Tue Oct 11 06:11:42 PDT 2011


Both patches look good.

Jose

----- Original Message -----
> From: Brian Paul <brianp at vmware.com>
> 
> Previously it was getting set in draw_set_mapped_constant_buffer()
> but
> if there were no shader constants, that function wasn't called.  So
> the
> pt.user.planes field was null and we died when we tried to access the
> clip planes in the LLVM-generated code.
> 
> Fixes https://bugs.freedesktop.org/show_bug.cgi?id=41663
> 
> Note: This is a candidate for the 7.11 branch.


More information about the mesa-dev mailing list