summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2010-03-21nv50: report driver as GLSL capableChristoph Bumiller
There's still no hint of optimization in the shaders, but we support conditionals, loops and even integer opcodes so it isn't that big a lie.
2010-03-21nv50: don't validate arrays on clearChristoph Bumiller
The vertex elements and buffers might not be valid anymore.
2010-03-21nv50: get rid of the static_init stateobjChristoph Bumiller
Relocations of per-screen buffers are now emitted directly, and include the necessary method to get changes in constbuf addresses committed to the hw. It should also be a bit cheaper than the way stateobjs emit relocation markers, use a little less pushbuf space.
2010-03-21drm/sw: llvmpipe texture_from_handleGeorge Sapountzis
Not sure, but judging by softpipe, this hook was forgotten.
2010-03-21r300g: fix occlusion query hangs.Dave Airlie
Okay need to revist the whole OQ stuff anyways, glean test asserts which is never good. I'm liking the cached bufmgr restrictions less and less, I think I'll probably play with the fence and/or busy stuff ASAP and try and clean it up. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-21r300g: align misaligned ushort vertex indicesMarek Olšák
2010-03-21r300g: fix misaligned generated offset for ubyte vertex indicesMarek Olšák
2010-03-21r300g: split the vertex buffer alignment validationMarek Olšák
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.