[Mesa-dev] [PATCH] Save and restore vertex buffer state in util_gen_mipmap.

2012-06-29 Thread Stuart Abercrombie
Calling glGenerateMipmap could overwrite vertex buffer state, leading to incorrect rendering or crashes depending on the Gallium driver. This was happening on WebGL Conformance test texture-size. Before 784dd51198433e5c299da4a7742c68d21d68d1c1 this was covered up by redundant vertex buffer vali

Re: [Mesa-dev] llvmPipe on ARM (CortexA-9)

2012-04-18 Thread Stuart Abercrombie
I was just looking at this.  The release notes say the "ARM backend has basic support for integer code", but even that appears to be broken, at least for vector types.  For the first case of lp_test_conv, with this IR: define void @test(<8 x i16>*, <4 x i32>*) { entry:   %2 = getelementptr <8 x i1

[Mesa-dev] [PATCH] In emit_math1 check for a zero writemask before emitting the preliminary MOV on gen 6 and up.

2011-12-02 Thread Stuart Abercrombie
Previously a zero writemask would result in dst_chan == -1, meaning an unnecessary MOV with the destination register dictated by undefined memory contents would be emitted before returning. This caused intermittent GPU hangs, e.g. with glean/texCombine. --- src/mesa/drivers/dri/i965/brw_wm_emi