aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* progs/fpglsl: Fix GLSL compilation failures on Mac OS X.Vinson Lee2010-03-112-2/+2
|
* st/mesa: always advertise texture_rectangleMarek Olšák2010-03-111-1/+1
|
* gallivm: overhaul of texture sampling codeBrian Paul2010-03-103-250/+420
| | | | | | | | | 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.
* gallivm: handle scalar floats in lp_build_floor() and lp_build_iround()Brian Paul2010-03-101-0/+15
|
* gallivm: constant building for scalar zeroBrian Paul2010-03-101-2/+10
|
* gallivm: implement bilinear sampling with nearest mipmappingBrian Paul2010-03-101-0/+79
| | | | Time to start consolidating some code...
* gallivm: remove debug code. nearest minification works now.Brian Paul2010-03-101-6/+3
|
* llvmpipe: fix loop over mipmap levelsBrian Paul2010-03-101-1/+1
|
* dri/nouveau: Just reemit the BO state on pushbuf flush.Francisco Jerez2010-03-113-14/+14
| | | | | | 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.
* i965: Use the PLN instruction when possible in interpolation.Eric Anholt2010-03-108-7/+82
| | | | | | 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.
* i965: Set up the execution size before relying on it.Eric Anholt2010-03-101-5/+7
| | | | | Fixes hangs with texturing in the non-GLSL path since f6d210c284751ac50a8d6358de7e75a1ff1e4ac7
* gallivm: simplify conditional branchingJose Fonseca2010-03-101-21/+8
| | | | | Instead of testing each component individually, we can test the entire vector at once.
* gallivm: properly test the if condition and branch to the proper labelZack Rusin2010-03-101-1/+3
| | | | makes loops work
* gallivm: implement loopsZack Rusin2010-03-103-10/+153
|
* windows: Quiet warning by not defining YY_NO_UNISTD_H.Karl Schultz2010-03-101-32/+32
|
* progs/trivial: use -c option to use glCopyPixels()Brian Paul2010-03-101-2/+4
| | | | | | | | 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.
* progs/trivial: make clear-fbo-scissor.c work with other GL driversBrian Paul2010-03-101-1/+19
| | | | | | | 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.
* radeon: fallback to sw ReadPixels if color logicop is enabledMaciej Cencora2010-03-101-1/+1
| | | | Fixes glean/logicOp (regressed after introducing hw accelerated support for ReadPixels)
* r300: enable depth test only if depth buffer is availableMaciej Cencora2010-03-101-1/+1
| | | | Fixes #23532 and piglit/fbo-nodepth-test piglit/fbo-nostencil-test
* radeon: fix glCopyTex(Sub)Image if user FBO is boundMaciej Cencora2010-03-101-3/+6
| | | | Fixes piglit/fbo-blit and wine d3d9 unit test.
* fpglsl: a few more useful glsl testsZack Rusin2010-03-105-0/+46
|
* llvmpipe: Finally found a way to do vector comparisons without using intrinsics.José Fonseca2010-03-101-6/+26
| | | | Only works well with LLVM >= 2.7
* fpglsl: set an integer uniform required by the loop exampleZack Rusin2010-03-101-0/+5
|
* fpglsl: add some for and while loopsZack Rusin2010-03-102-0/+18
|
* softpipe: fix memcpy params to avoid static analysis warningsBrian Paul2010-03-102-2/+12
| | | | See fd.o bug 26970. Also added sanity check assertions.
* progs/trivial: add -t (RTT) option for clear-fbo-scissor.cBrian Paul2010-03-101-5/+33
|
* i965: Add support for the CMP opcode in the GLSL path.Eric Anholt2010-03-103-6/+15
| | | | | This would be triggered by use of sqrt() along with control flow. Fixes piglit-fs-sqrt-branch and a bug in Yo Frankie!.
* i965: Print the opcode name for unrecognized opcodes in the GLSL path.Eric Anholt2010-03-101-2/+3
|
* progs/trivial: added clear-fbo-scissor.c to test scissored clear of FBOBrian Paul2010-03-103-1/+189
|
* i965: Fix the response len of masked sampler messages for 8-wide dispatch.Eric Anholt2010-03-101-2/+12
| | | | | | | | | 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).
* i965: Print the offset for IFF in disasmEric Anholt2010-03-101-1/+1
|
* Revert "scons: Refuse to use LLVM 2.7 for now."José Fonseca2010-03-101-10/+0
| | | | | | | 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.
* progs/tests: add additional FBO->window test paths (disabled)Brian Paul2010-03-101-9/+37
| | | | | Normally use glReadPixels + glDrawPixels. Add debug/test paths for glCopyPixels and glBlitFramebuffer.
* mesa: raise an error when trying to bind non-existant texture to FBOBrian Paul2010-03-101-0/+8
| | | | | | | | 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?
* mesa: added new function commentsBrian Paul2010-03-101-0/+8
|
* st/mesa: set strb->format field in st_render_texture()Brian Paul2010-03-101-0/+2
| | | | | | 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.
* st/mesa: add some comments in glReadPixels codeBrian Paul2010-03-101-0/+7
|
* st/mesa: consolidate duplicated texture allocation codeBrian Paul2010-03-101-49/+49
|
* Merge branch '7.8'Brian Paul2010-03-101-6/+23
|\
| * st/mesa: fix incorrect glCopyPixels between window/FBOBrian Paul2010-03-101-4/+16
| | | | | | | | | | | | | | | | | | 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)
| * st/mesa: fix incorrect glDrawPixels into FBOBrian Paul2010-03-101-2/+7
| | | | | | | | | | | | We weren't inverting the textured quad when drawing into an fbo. (cherry picked from commit 8d3f629a13afb0d6acafc7a007972fdc5efe6847)
* | Merge branch '7.8'Michel Dänzer2010-03-104-0/+24
|\|
| * st/xorg: Work around cursor reference counting bugs in older X servers.Michel Dänzer2010-03-103-0/+20
| | | | | | | | | | | | | | | | | | | | Could result in use of freed memory and consequently random crashes, e.g. on screen resize. (cherry picked from commit 21c91b410a2a2cbf8eb677e59e3322f86320f2b0) Conflicts: src/gallium/state_trackers/xorg/xorg_tracker.h
| * radeon: don't attempt to use alternate blit formats for depth buffersAlex Deucher2010-03-081-0/+4
| | | | | | | | noticed by fredrikh on IRC.
* | r200: add additional blit formatsAlex Deucher2010-03-101-0/+17
| |
* | r100: add additional blit formatsAlex Deucher2010-03-101-0/+14
| |
* | radeon/r200/r600: enable HW accelerated gl(Read/Copy/Draw)PixelsAlex Deucher2010-03-107-538/+15
| |
* | glapi: fix bug with tls and relocsGeorge Sapountzis2010-03-101-0/+3
| | | | | | | | | | | | add_dispatch (driver) and maybe get_proc_address (client) may be called before set_dispatch is called, which results in generate_entrypoint using an unreloced function template.
* | glapi: these two should be ok for add_dispatch ...George Sapountzis2010-03-101-1/+5
| | | | | | | | | | | | - a function cannot be both static and extension, right ? - we should be setting the offset only if not already set, right ?
* | glapi: comments for _glapi_add_dispatchGeorge Sapountzis2010-03-101-6/+18
| |