summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2010-03-21r300g: skip null vertex buffersMarek Olšák
2010-03-20r300g: Bump immediate limits.Corbin Simpson
Seems like a decent idea, especially since the big barrier now is getting the VBOs back from the VRAM boundary.
2010-03-20r300g: Correctly hax max_index on pipe_vertex_buffers.Corbin Simpson
Still not happy with this, but at least things seem to work.
2010-03-21r300g: add buffer/texture referenced checks.Dave Airlie
I've no idea about the comments that were in there, just pass this down to the winsys. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-19r300g: lod min/max clamping should be relative to the base levelMarek Olšák
2010-03-19r300g: fix breakage after the gallium-sampler-view mergeMarek Olšák
2010-03-19r300g: add PIPE_FORMAT_B5G5R5X1_UNORM colorbuffer support, cleanupsMarek Olšák
2010-03-19r300g: mark SRGB colorbuffers as unsupportedMarek Olšák
I can't find the register bits for SRGB-aware blending and it's not even exposed by fglrx so it's most probably not supported by hw.
2010-03-19r300g: add generating texture coordinates for point sprites (WIP)Marek Olšák
2010-03-18gallivm/llvmpipe: added lp_rast_shader_inputs::facing and pass throughBrian Paul
The triangle rasterizer sets this field to indicate front/back-facing. It gets passed into the generated fragment code as another parameter. Used now for stencil front/back selection but will also be used for fragment shaders in general (see TGSI_SEMANTIC_FACE). With this commit two-sided stenciling mostly works but there's still a bug or two...
2010-03-18llvmpipe: defines for RAST_WHOLE, RAST_EDGE_TESTBrian Paul
2010-03-18gallivm/llvmpipe: simplify front/back stencil ref value handlingBrian Paul
Instead of passing an array, just pass two scalar values.
2010-03-18llvmpipe: set opaque = FALSE if stencil enabledBrian Paul
Fixes occasional bad tiles seen in some demos like progs/demos/reflect.c
2010-03-18llvmpipe: Fix crashes when there is no depth buffer bound.José Fonseca
2010-03-17gallivm/llvmpipe: basic stencil testing worksBrian Paul
Most stencil demos look OK (modulo some unrelated rendering glitches). Only single-sided stencil test works at this point. There are probably some bugs to be found...
2010-03-17llvmpipe: remove incorrect depth test checkBrian Paul
2010-03-17llvmpipe: silence some pointer/casting warningsBrian Paul
2010-03-17gallivm/llvmpipe: more asst changes for stencil testingBrian Paul
2010-03-17gallivm/llmvpipe: pass stencil refs state into z/stencil build codeBrian Paul
2010-03-17llvmpipe: use new LP_JIT_CTX_ enums for jit context field positionsBrian Paul
Use the new enum values rather than integers in a few places.
2010-03-17llvmpipe: added stencil ref values to jit context stateBrian Paul
2010-03-17llvmpipe: break linesBrian Paul
2010-03-16cell: add missing semicolonBrian Paul
2010-03-16nv50: support more formats in surface_copy,fillChristoph Bumiller
Fixes corrupted fonts in bzFlag, where we've been silently failing to copy I8 mipmaps to a new miptree. Print an error message on unsupported format now, since we can't return failure.
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-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/llvmpipe: rename some constant building functionsBrian 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-15llvmpipe: updated status in README fileBrian Paul
2010-03-15nv40: remove leftover nv40_transfer.c from unification into nvfxLuca Barbieri
2010-03-15nvfx: fix up after mergeKeith Whitwell
2010-03-15r300g: fix up after mergeKeith Whitwell
2010-03-15Merge commit 'origin/master' into gallium-sampler-viewKeith Whitwell
Conflicts: src/gallium/drivers/nv30/nv30_context.h src/gallium/drivers/nv30/nv30_state.c src/gallium/drivers/nv40/nv40_context.h src/gallium/drivers/nv40/nv40_state.c src/gallium/drivers/r300/r300_emit.c
2010-03-15r300g: rebuild screen/winsys interfaceDave Airlie
This creates a cleaner winsys and drop the simple screen stuff. It makes r300g use pb_bufmgr structs. It also tries to avoid overheads from mapping too often. v5: clean warnings v6: break out of cache check on first buffer - since most likely the first busy one implies all after it are busy. v7: cleanup a bit v8-merged: drop cman for now to just get all the interface changes in first. rework to changes that happened upstream Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-15nv50: reset vbo_fifo before each validateBen Skeggs
2010-03-15nvfx: remove src_native_swz, which was a no-opLuca Barbieri
src_native_swz was used to translate 0/1 swizzles back when Gallium supported them. That support was later removed from Gallium, and the function currently always returns true. Remove it.
2010-03-15nvfx: clean up shader headerLuca Barbieri
Currently the behavior of shader.h depends on some constants that are defined differently in vertex and fragment programs. This patch cleans that up by splitting the relevant symbols in vertex program and fragment program variants
2010-03-15nvfx: draw: make swtnl draw_elements actually work.Luca Barbieri
It was totally broken: the index buffer was passed as NULL!
2010-03-15nvfx: draw: emit color as floating pointLuca Barbieri
Don't lose precision by converting to u8.
2010-03-15nvfx: draw: make perspective corrective texturing workLuca Barbieri
We must divide everything in the position by w, and emit position as a 4-component vector. Not sure why we must divide, but it works (see progs/redbook/checker).
2010-03-15nvfx: draw: create draw vp with uregLuca Barbieri
This avoids duplicating the vertex program generation logic and makes the same code work for both nv30 and nv40.
2010-03-15nvfx: add NOUVEAU_SWTNL to force swtnl at runtimeLuca Barbieri
Replace the FORCE_SWTNL macro with a NOUVEAU_SWTNL environment variable.
2010-03-15nvfx: move nv04_surface_2d.c into nvfx directoryLuca Barbieri
It is only used on pre-nv50 and nvfx is the only Gallium pre-nv50 driver.
2010-03-15nvfx: fix quads drawingLuca Barbieri
The primitive splitting code is totally broken and will be rewritten. Fix the most important bug now though.
2010-03-15nvfx: fix viewport state after bypass removal for swtnlLuca Barbieri
The adjustment of nv30/nv40 after the removal of bypass incorrectly removed the hardware viewport bypass code, which we still need for swtnl and also forgot to remove NVFX_NEW_RAST from pipe.
2010-03-15nv30, nv40: move last files to nvfx/ and rm -rf nv30 nv40Luca Barbieri
This is the last nvfx unification patch. nv[34]0_fragtex.c are moved to the common directory nv[34]0_shader.h are renamed to nv[34]0_vertprog.h and moved to the common directory The separate nv30 and nv40 directories are removed from the build system
2010-03-15nv30, nv40: partially non-trivially unify sampler state in nv[34]0_state.cLuca Barbieri
Many things, like texture wrap modes and min/mag filters are common. Some others, like annisotropy and lod settings, are not.