summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-08-09util: Move _mm_shuffle_epi8() to u_sse.h.José Fonseca
It's bound to be useful elsewhere.
2010-08-09r600g: fix r600 context structure, avoid segfault when no scissorJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-09r300g: do not print shader compiler errors by defaultMarek Olšák
2010-08-09r600g: fix some warningsMarek Olšák
2010-08-09r600g: fill out some missing caps and sort themMarek Olšák
The shader caps need additional corrections. (based on a patch from netkas at Phoronix)
2010-08-09r300g: fix hiz/zmask offset emissions.Dave Airlie
ofs is in dwords, so need to shift it for registers. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-08-09nouveau: fix maps with PIPE_TRANSFER_UNSYNCHRONIZED | PIPE_TRANSFER_DONTBLOCKLuca Barbieri
In this case, we were incorrectly prioritizing PIPE_TRANSFER_DONTBLOCK over PIPE_TRANSFER_UNSYNCHRONIZED. This can lead to failure in the Mesa VBO draw paths that end up specifying both, but don't expect map to fail (in particular, the problem manifested as a leak of buffer objects in teapot with other changes).
2010-08-08r300g: remove a flushMarek Olšák
Ooops, it wasn't supposed to be there.
2010-08-08gallivm: Fix more integer operations.José Fonseca
2010-08-08gallivm: Use the correct context for integersnobled
See: http://bugs.freedesktop.org/29407
2010-08-08r300g: flush zmasks of zbuffers we are going to use as samplersMarek Olšák
It sometimes works, sometimes not. I guess we have the zmask offsets wrong.
2010-08-08r300g: do not allocate a zmask block for 3D textures and cubemapsMarek Olšák
2010-08-08r300g: generalize the way we ask for hyperzMarek Olšák
This makes it compatible with the modified DRM interface in drm-radeon-testing. Also, now you need to set RADEON_HYPERZ=1 to be able to use hyperz. It's not bug-free yet.
2010-08-08gallivm: Add type checks for the basic operations.José Fonseca
2010-08-08draw: Remove unused variable.José Fonseca
2010-08-08draw: Use the correct type for integersnobled
Two integers were being operated on as a vector of floats in draw_llvm_generate(). This bug got uncovered by fixing this bug: http://bugs.freedesktop.org/29407
2010-08-08r300g: take hiz/zmask offsets into a/c when clearing.Dave Airlie
Need to add a test for multi-hiz/zmask db in a single context. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-08-07r300g: fix cbzb clears when hyperz is offMarek Olšák
2010-08-06nouveau: fix potential NULL-ptr dereference in nouveau_stateobj.hMaarten Maathuis
- This can only be triggered when DEBUG_NOUVEAU_STATEOBJ is active. - Also remove a redundant pointer assignment. Reported-by: Roy Spliet <r.spliet@student.tudelft.nl> Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
2010-08-06r600g: add PA_CL_CLIP_CNTL definitionJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-06r600g: fix rendering, only enable target we write tooJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-06r600g: really fix multi target supportJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-06gallium: remove stray semicolonsBrian Paul
2010-08-06r600g: finish multi target rendering supportJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-06targets/egl: Fix build by including missing headers.Vinson Lee
2010-08-07draw: Add an assertion to varray's version of trim().Chia-I Wu
Assert that "first" is always smaller than "count" and add reasoning. It would be better to simply fix trim(), but it is used in tight loops right now.
2010-08-07draw: Fix draw_pt_split_prim for primitives with adjacency.Chia-I Wu
Some primitives with adjacency have their "incr" wrong.
2010-08-07draw: Assert that only the first vetex may have flags set.Chia-I Wu
642d5ba79abc6a231a5fdabb3454b9b082b0d7f8 removed flags masking for vertices other than the first one. Add assertions to be on the safe side.
2010-08-06r600g: fix color format, indentation, definesJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-06Revert "r600g: don't use dynamic state allocation for states"Jerome Glisse
This reverts commit 9c949d4a4dd43b7889e13bdf683bcf211f049ced. Conflicts: src/gallium/drivers/r600/r600_context.h src/gallium/drivers/r600/r600_draw.c src/gallium/drivers/r600/r600_shader.c src/gallium/drivers/r600/r600_state.c
2010-08-06draw: Avoid mixed declarations and code.Chia-I Wu
Do not expand LOCAL_VARS to void expression. Otherwise, declarations and code will be mixed when more variables are declared in FUNC_ENTER. This fixes fdo bug #29416.
2010-08-05r300g: Remove unnecessary headers.Vinson Lee
2010-08-06r600g: start to fix up multiple targets.Dave Airlie
fixup exports from pixel shader for multi-cbs + depth buffer writing. Still crashes GPU running any of the multi-buffer or depth writing
2010-08-06draw: Remove unnecessary vertex flag ANDs.Chia-I Wu
Vertex flags are a contract between vcache and the pipeline. They are set only for the first vertex of a primitive.
2010-08-06draw: Mask out vertex flags in GS and stream output.Chia-I Wu
This fixes out-of-bound access to the vertices.
2010-08-06draw: Include draw_decompose_tmp.h in draw_pt_decompose.h.Chia-I Wu
Use draw_decompose_tmp.h to replace pipeline primitive decomposer.
2010-08-06draw: Include draw_decompose_tmp.h in draw_so_emit_tmp.h.Chia-I Wu
Use draw_decompose_tmp.h to replace stream out primitive decomposer.
2010-08-06draw: Include draw_decompose_tmp.h in draw_gs_tmp.h.Chia-I Wu
Use draw_decompose_tmp.h to replace GS primitive decomposer.
2010-08-06draw: Include draw_decompose_tmp.h in draw_pt_vcache_tmp.h.Chia-I Wu
Use draw_decompose_tmp.h to replace vcache primitive decomposer. As the new decomposer supports primitives with adjacency, vcache_triangle_adj and vcache_line_adj (and their variants that have flags) are added.
2010-08-06draw: Add draw_decompose_tmp.h.Chia-I Wu
Including draw_decompose_tmp.h defines a primitive decomposer. It is intended to replace the existing vcache/so/gs/pipe decomposers. This is based on draw_pt_vcache_tmp.h.
2010-08-06r600g: add SRGB support.Dave Airlie
This enables GL2.1 and passes glean's texture_srgb test.
2010-08-06r600g: fixup z format translations.Dave Airlie
this enables GL_EXT_packed_depth_stencil. fbo-d24s8 passes
2010-08-06r600g: fix targetmask to work correctly.Dave Airlie
At least this seems to fix the glean maskedClear test.
2010-08-06r600g: improve supported format selection.Dave Airlie
This fixes fbo-readpixels piglit test, and adds support for swapping the formats. Not all formats are correct yet I don't think. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-08-06r600g: add bo wait after map.Dave Airlie
2010-08-06r300g: do not emit GB_Z_PEQ_CONFIG on non-r500 if DRM < 2.6.0Marek Olšák
2010-08-05tgsi: Fix typo, so we follow what is in the commentsJakob Bornecrantz
2010-08-05tgsi: Add option to stop the sanity checker from printingJakob Bornecrantz
2010-08-05util: Add option to not dump cpu capsJakob Bornecrantz
2010-08-05llvmpipe: Only get no rast option onceJakob Bornecrantz