search for: clear_stencil

Displaying 2 results from an estimated 2 matches for "clear_stencil".

2014 Jan 23
2
[Mesa-dev] [PATCH] nv50, nvc0: only clear out the buffers that we were asked to clear
On Thu, Jan 23, 2014 at 3:11 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote: > On 17/01/14 02:23, Ilia Mirkin wrote: >> Fixes fbo-drawbuffers-none glClearBuffer piglit test. >> >> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> >> --- >> >> Only tested on nv50, but implementations seem similar enough. >> >>
2014 Jan 23
0
[Mesa-dev] [PATCH] nv50, nvc0: only clear out the buffers that we were asked to clear
...parately in a for loop below (the 0x3c > == the RGBA mask). The first RT may not have been there, and that > seemed simpler than the thing that I have now (as evidenced by the > code I have now which has more complex logic). > With the original patch, you explicitly set clear_depth and clear_stencil for the first buffer, regardless of what is being passed by gallium. I'm not sure that was strictly correct. -Emil >> >> The corrected version in your github branch looks alot better, it >> handles the above case and does not overwrite the clear buffer on rt0. > > Chri...