summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-03-11gallivm: Handle scalar types in lp_build_*_type.José Fonseca
2010-03-11mesa/es: Validate the state in st_DrawTex.Chia-I Wu
Without the validation, the function might draw with outdated textures.
2010-03-11mesa/es: Fix GL_OES_draw_texture support.Chia-I Wu
st_DrawTex calls util_draw_vertex_buffer. Since ac4abaecd5f52e416c89bfe19b34ed7f4e014b21, the caller is expected to set vertex elements before calling.
2010-03-11softpipe: Dummy fence functions.José Fonseca
2010-03-11st/dri: move extension initilization to st/mesa completelyMarek Olšák
Extensions were enabled in both st/mesa and st/dri, with st/dri completely overriding the decisions of st/mesa and exposing even the extensions claimed to be unsupported by a pipe driver. This commit moves the differences between the two to st/mesa and removes the responsibilty of advertising extensions from st/dri.
2010-03-11Merge remote branch 'origin/7.8'Michel Dänzer
2010-03-11winsys/xlib: Fix memory leak.Vinson Lee
Memory for xm_dt was allocated twice.
2010-03-11progs/fpglsl: Fix GLSL compilation failures on Mac OS X.Vinson Lee
2010-03-11st/mesa: always advertise texture_rectangleMarek Olšák
2010-03-10gallivm: overhaul of texture sampling codeBrian Paul
The new lp_build_sample_general() function will handle all sampling modes for all texture types. Still incomplete, but a few additional sampling modes are now supported. 1D textures should work and most of the code for 3D textures is in place. No support for cube maps yet. No support for different min/mag filters.
2010-03-10gallivm: handle scalar floats in lp_build_floor() and lp_build_iround()Brian Paul
2010-03-10gallivm: constant building for scalar zeroBrian Paul
2010-03-10gallivm: implement bilinear sampling with nearest mipmappingBrian Paul
Time to start consolidating some code...
2010-03-10gallivm: remove debug code. nearest minification works now.Brian Paul
2010-03-10llvmpipe: fix loop over mipmap levelsBrian Paul
2010-03-11st/xorg: Include cursorstr.hJakob Bornecrantz
2010-03-11dri/nouveau: Just reemit the BO state on pushbuf flush.Francisco Jerez
Reemitting dirty states on flush causes problems if the GL context isn't fully consistent when we get to it. It didn't serve any specific purpose, so, use nouveau_bo_state_emit instead.
2010-03-10i965: Use the PLN instruction when possible in interpolation.Eric Anholt
Saves an instruction in PINTERP, LINTERP, and PIXEL_W from brw_wm_glsl.c For non-GLSL it isn't used yet because the deltas have to be laid out differently.
2010-03-10i965: Set up the execution size before relying on it.Eric Anholt
Fixes hangs with texturing in the non-GLSL path since f6d210c284751ac50a8d6358de7e75a1ff1e4ac7
2010-03-10windows: fix compilation errors and warningsKarl Schultz
2010-03-10gallivm: simplify conditional branchingJose Fonseca
Instead of testing each component individually, we can test the entire vector at once.
2010-03-10gallivm: properly test the if condition and branch to the proper labelZack Rusin
makes loops work
2010-03-10gallivm: implement loopsZack Rusin
2010-03-10windows: Quiet warning by not defining YY_NO_UNISTD_H.Karl Schultz
2010-03-10progs/trivial: use -c option to use glCopyPixels()Brian Paul
Otherwise we use glRead/DrawPixels to copy the off-screen FBO image into the window. Looks like NVIDIA's broken when using -c (the image is upside down), but OK with -c -t.
2010-03-10progs/trivial: make clear-fbo-scissor.c work with other GL driversBrian Paul
NVIDIA's driver requires that the texture that we're going to render into be complete. Need to set min/mag filters to non-mipmap modes. Plus added other error/debug checks.
2010-03-10radeon: fallback to sw ReadPixels if color logicop is enabledMaciej Cencora
Fixes glean/logicOp (regressed after introducing hw accelerated support for ReadPixels)
2010-03-10r300: enable depth test only if depth buffer is availableMaciej Cencora
Fixes #23532 and piglit/fbo-nodepth-test piglit/fbo-nostencil-test
2010-03-10radeon: fix glCopyTex(Sub)Image if user FBO is boundMaciej Cencora
Fixes piglit/fbo-blit and wine d3d9 unit test.
2010-03-10fpglsl: a few more useful glsl testsZack Rusin
2010-03-10windows: Quiet warning by not defining YY_NO_UNISTD_H.Karl Schultz
2010-03-10llvmpipe: Finally found a way to do vector comparisons without using intrinsics.José Fonseca
Only works well with LLVM >= 2.7
2010-03-10fpglsl: set an integer uniform required by the loop exampleZack Rusin
2010-03-10fpglsl: add some for and while loopsZack Rusin
2010-03-10softpipe: fix memcpy params to avoid static analysis warningsBrian Paul
See fd.o bug 26970. Also added sanity check assertions.
2010-03-10progs/trivial: add -t (RTT) option for clear-fbo-scissor.cBrian Paul
2010-03-10i965: Add support for the CMP opcode in the GLSL path.Eric Anholt
This would be triggered by use of sqrt() along with control flow. Fixes piglit-fs-sqrt-branch and a bug in Yo Frankie!.
2010-03-10i965: Print the opcode name for unrecognized opcodes in the GLSL path.Eric Anholt
2010-03-10progs/trivial: added clear-fbo-scissor.c to test scissored clear of FBOBrian Paul
2010-03-10i965: Fix the response len of masked sampler messages for 8-wide dispatch.Eric Anholt
The bad response length would hang the GPU with a masked sample in a shader using control flow. For 8-wide, the response length is always 4, and masked slots are just not written to. brw_wm_glsl.c already allocates registers in the right locations. Fixes piglit glsl-fs-bug25902 (fd.o bug #25902).
2010-03-10i965: Print the offset for IFF in disasmEric Anholt
2010-03-10Revert "scons: Refuse to use LLVM 2.7 for now."José Fonseca
This reverts commit 44703217f73095c4946e06057e399e447b252576. http://www.llvm.org/bugs/show_bug.cgi?id=6429 has been fixed now. Things appear to be working reasonably so far.
2010-03-10progs/tests: add additional FBO->window test paths (disabled)Brian Paul
Normally use glReadPixels + glDrawPixels. Add debug/test paths for glCopyPixels and glBlitFramebuffer.
2010-03-10mesa: raise an error when trying to bind non-existant texture to FBOBrian Paul
If the user calls glRenderBufferTexture(texture=N) but texture N doesn't name an existing texture, raise GL_INVALID_ENUM. Plus, add a comment about some questionable error checking code in framebuffer_texture(). Ian?
2010-03-10mesa: added new function commentsBrian Paul
2010-03-10st/mesa: set strb->format field in st_render_texture()Brian Paul
This fixes a problem in glReadPixels when reading from an FBO's texture attachment. We have a better chance at hitting a fast path for glReadPixels now.
2010-03-10st/mesa: add some comments in glReadPixels codeBrian Paul
2010-03-10st/mesa: consolidate duplicated texture allocation codeBrian Paul
2010-03-10Merge branch '7.8'Brian Paul
2010-03-10st/mesa: fix incorrect glCopyPixels between window/FBOBrian Paul
There was a DrawBuffer/ReadBuffer typo and we were neglecting to invert the texture coords when copying from a window to an FBO. Plus, add some surface dump/debug code (disabled). (cherry picked from commit 34f02071618624263eba839b5aeb930d0e794078)