summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-03-16intel: Remove more code for x8z24 visuals, since we only do s8z24.Eric Anholt
2010-03-16Revert "i965: Do VS SGT, SLT, and friends using CMP, SEL instead of CMP, ↵Eric Anholt
MOV, MOV." This reverts commit 8ef3b1834a896927bdd4f2aea552cdb732849da9. Fixes piglit glsl-vs-if.
2010-03-16Revert "i965: Do FS SLT, SGT, and friends using CMP, SEL instead of CMP, ↵Eric Anholt
MOV, MOV." This reverts commit 46450c1f3f93bf4dc96696fc7e0f0eb808d9c08a. I was wrong about null reg behavior -- it reads undefined, not 0. And they're not kidding.
2010-03-16meta: Fix up restoration of state if _mesa_map_pbo_source() fails.Eric Anholt
2010-03-16meta: Properly refcount our saved programs and texobjs.Eric Anholt
Found while debugging bug #24119.
2010-03-16gallium: add target-helpers/wrap_screen.c to C_SOURCESBrian Paul
Was commented out before.
2010-03-16i965: Fix ENDLOOP to only patch up this loop's BREAK and CONT.Eric Anholt
Corresponds to d225a25e21a24508aea3b877c78beb35502e942d and fixes piglit glsl-fs-loop-nested. Bug #25173. (cherry picked from commit a81836ee2fe5092d695b717addf8cec91f569777)
2010-03-16i965: Unalias all GLSL source regs from the destination regs used.Eric Anholt
We were doing it ad-hoc before, as instructions with potential aliasing problems were identified. But thanks to swizzling basically anything can have aliasing, so just do it generally at source reg setup time. This is somewhat inefficient, because sometimes an operation doesn't need unaliasing protection if the swizzling is safe, but the unaliasing before didn't cover those cases either. Fixes piglit glsl-fs-loop. (cherry picked from commit 6b194dab6b4d9f12cdd54c699b23c0d3420a49c2)
2010-03-16i965: Fix nested loops in the VS.Eric Anholt
We were patching up all the break and continues between the start of our loop and the end of our loop, even if they were breaks/continues for an inner loop. Avoiding patching already patched breaks/continues fixes piglit glsl-vs-loop-nested. (cherry picked from commit f6f547d87ea68f44c50a0b0231b7360ca94b2975)
2010-03-16i965: Fix up VP constbuf leak on program delete.Eric Anholt
(cherry picked from commit 7f6d2754d586545ab6c970acffdd897294879039)
2010-03-16i965: Fix up the handling of point sprite coordinate replacement.Eric Anholt
The code was walking over the regs of pairs of attributes and checking whether the attribute with a given reg index had point sprite enabled. So the point sprite setup code was rarely even getting executed. Instead, we need to determine which channels of a reg need point sprite coordinate replacement. In addition, it was multiplying the attribute by 1/w, when it's supposed to cover (0, 1) in each direction regardless of w, and it wasn't filling in the Z and W components of the texcoord as specified. Fixes piglit point-sprite and the spriteblast demo. Bug #24431, #22245. (cherry picked from commit bc632d04370566c1156cbd0345fe303834f0b910)
2010-03-16i965: 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!. (cherry picked from commit 48dca99feb394febc3af44e14f23fb12a9cc9204)
2010-03-16i965: 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). (cherry picked from commit f6d210c284751ac50a8d6358de7e75a1ff1e4ac7) (cherry picked from commit dc8c0359448cdae7b367552ba58783c04b199778)
2010-03-16st/mesa: Invalidate sampler view when texture object changes.Michal Krol
2010-03-16Remove nonexistant files from tarballs rule of MakefileIan Romanick
The Makefile should eventually be fixed to stop building tarballs if one of the individual calls to tar fails.
2010-03-16mesa: set version string to 7.8-rc1Ian Romanick
2010-03-16Correct GL_EQUIV code in r67/7xx.Matthew W. S. Bell
From 247e121106e8d3e389f2e5a6edf13ea70ac18df7 Mon Sep 17 00:00:00 2001 These seem to be documented in <http://www.svgopen.org/2003/papers/RasterOperationsUsingFilterElements/index.html>.
2010-03-16st/xorg: fix up xorg state tracker to use cso changesRoland Scheidegger
use cso_set_fragment_sampler_views instead of cso_set_sampler_textures
2010-03-16radeon: Fix buffer object unmap to be called only once for dma buffers.Pauli Nieminen
If flush happens inside radeonRefillCurrentMaRegion the last dma buffer would be unmapped twice. Unmapping buffer when moving buffer to wait list fixes the mapping error.
2010-03-16regenerate gl_mangle.h to get new EGLImage functionsBrian Paul
2010-03-16libgl-xlib: Use a simple GALLIUM_DRIVER env var to select the pipe driver.José Fonseca
GALLIUM_DRIVER is being used in many other places, and it easier to memorizing and understand than all the GALLIUM_NO_XXX.
2010-03-16gallium: Silence warning.José Fonseca
2010-03-16gallium: change remaining util functions to use cso sampler viewsRoland Scheidegger
changes arguments of util_blit_pixels_tex and util_gen_mipmap to struct pipe_sampler_view * instead of struct pipe_texture *.
2010-03-16gallium/docs: Create a separate section for Sampler Views.Michal Krol
2010-03-16Merge commit 'origin/master' into gallium-sampler-viewKeith Whitwell
This branch already seems to have the nv50_tex.c fix. Conflicts: src/gallium/drivers/nv50/nv50_tex.c
2010-03-16i965g: Fix use of an uninitialized variable.Chia-I Wu
2010-03-16Merge remote branch 'origin/gallium-st-api'Chia-I Wu
2010-03-16nv50: fix texturing from >=4GiB markBen Skeggs
2010-03-16llvmpipe: Fix rebase typoJakob Bornecrantz
2010-03-16winsys/sw: Add a software winsys layered on a pipeJakob Bornecrantz
2010-03-16i965g: Fix after context transfersJakob Bornecrantz
2010-03-15gallivm: checkpoint: stencil test codeBrian Paul
2010-03-15gallivm/llvmpipe: rename some constant building functionsBrian Paul
2010-03-15gallivm: fix up some #includesBrian Paul
2010-03-15gallivm/llvmpipe: rename os_llvm.h to lp_bld.hBrian Paul
The llvm wrapper wasn't really an OS thing. Use lp_bld.h for now but we eventually should rename/re-prefix all the files/functions in the gallivm/ directory.
2010-03-15libgl-xlib: Obey GALLIUM_SOFTPIPE define.José Fonseca
2010-03-16gallium: fix frontbuffer rendering with r300gDave Airlie
No idea if this is the correct fix, but it makes it work again at least. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-15llvmpipe: updated status in README fileBrian Paul
2010-03-15progs/objviewer: remove debug codeBrian Paul
2010-03-15gallivm: fix typo/bug in lp_build_sgn()Brian Paul
We were never returning -1 as a result. This fixes some inverted/flipped faces with cube mapping.
2010-03-15cso: Do not hold references to bound textures.Keith Whitwell
Sampler views already hold references to those.
2010-03-15gallivm: add min_lod==max_lod special-case code in lp_build_lod_selector()Brian Paul
When min_lod==max_lod we don't need to go through all the work of computing the lod from partial derivatives. This is hit by the mipmap generation utility code.
2010-03-15gallivm: asst clean-ups, comments, etc.Brian Paul
2010-03-15gallivm: implement minification/magnification selectionBrian Paul
Use the LOD value to determine whether to use the minification vs. magnification filter. All mipmap sampling modes work now.
2010-03-15gallivm: fix incorrect clamp in lp_build_linear_mip_levels()Brian Paul
2010-03-15gallivm: fix incorrect floor(), itrunc()Brian Paul
LLVMBuildFPTrunc() should be used for double->float conversion, not float->int conversion. There should be a better way to compute floor(), ceil(), etc that doesn't involve float->int->float conversion.
2010-03-15Replace _mesa_strtod with _mesa_strtof.Marcin Baczyński
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-15st/mesa: Fix a call to st_get_stobj_sampler_view().Michal Krol
2010-03-15st/mesa: Pass in correct sampler view object to blitter.Michal Krol
2010-03-15util: Fix nil pointer reference.Michal Krol