summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* r600: bump glsl versionAndre Maasikas2010-08-091-0/+2
| | | | from the tests i couldn't find any new driver faults
* r300g: fix hiz/zmask offset emissions.Dave Airlie2010-08-091-2/+2
| | | | | | ofs is in dwords, so need to shift it for registers. Signed-off-by: Dave Airlie <[email protected]>
* nouveau: fix maps with PIPE_TRANSFER_UNSYNCHRONIZED | PIPE_TRANSFER_DONTBLOCKLuca Barbieri2010-08-091-3/+2
| | | | | | | | | 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).
* r300g: remove a flushMarek Olšák2010-08-081-1/+0
| | | | Ooops, it wasn't supposed to be there.
* gallivm: Fix more integer operations.José Fonseca2010-08-081-2/+4
|
* gallivm: Use the correct context for integersnobled2010-08-081-1/+1
| | | | | See: http://bugs.freedesktop.org/29407
* r300g: flush zmasks of zbuffers we are going to use as samplersMarek Olšák2010-08-084-7/+58
| | | | It sometimes works, sometimes not. I guess we have the zmask offsets wrong.
* r300g: do not allocate a zmask block for 3D textures and cubemapsMarek Olšák2010-08-081-0/+6
|
* r300g: generalize the way we ask for hyperzMarek Olšák2010-08-081-9/+26
| | | | | | | 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.
* gallivm: Add type checks for the basic operations.José Fonseca2010-08-081-0/+12
|
* draw: Remove unused variable.José Fonseca2010-08-081-4/+2
|
* draw: Use the correct type for integersnobled2010-08-081-4/+2
| | | | | | | | 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
* r300g: take hiz/zmask offsets into a/c when clearing.Dave Airlie2010-08-081-0/+4
| | | | | | Need to add a test for multi-hiz/zmask db in a single context. Signed-off-by: Dave Airlie <[email protected]>
* i810: Add missing header m_xform.h.Vinson Lee2010-08-071-0/+2
| | | | | This is another follow-up to commit f4511c4835879090ce7e6afe3ac26b98fb91899a.
* dri: Add missing header m_xform.h.Vinson Lee2010-08-075-0/+11
| | | | | | | | This is a follow-up patch to commit f4511c4835879090ce7e6afe3ac26b98fb91899a. Files that include tnl_dd/t_dd_dmatmp.h now need to also include m_xform.h as t_context.h no longer includes it.
* tnl: Reduce header file inclusion in t_context.h.Vinson Lee2010-08-073-2/+2
| | | | | | | | | | | t_context.h Remove m_matrix.h and m_xform.h. t_vb_program.c Include m_xform.h. t_vb_render.c Include m_xform.h.
* swrast: Reduce header file inclusion in s_zoom.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
* swrast: Fix header file inclusion in s_texfilter.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_context.h for texture_sample_func symbol.
* swrast: Reduce header file inclusion in s_texcombine.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext sybmol. Include s_span.h for SWspan symbol.
* swrast: Reduce header file inclusion in s_stencil.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
* swrast: Reduce header file inclusion in s_masking.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
* swrast: Reduce header file inclusion in s_logic.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
* swrast: Reduce header file inclusion in s_fragprog.h.Vinson Lee2010-08-072-1/+3
| | | | | | | | | s_fragprog.h Include mtype.h for GLcontext symbol. Include s_span.h for SWspan symbol. s_fragprog.c Include s_context.h now that it is removed from s_fragprog.h.
* swrast: Reduce header file inclusion in s_fog.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
* swrast: Clean up header file inclusion in s_depth.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
* swrast: Include missing header in s_context.h.Vinson Lee2010-08-071-0/+1
| | | | Include compiler.h for _ASMAPIP symbol.
* swrast: Clean up header file inclusion in s_blend.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
* swrast: Clean up header file inclusion in s_atifragshader.h.Vinson Lee2010-08-072-1/+3
| | | | | | | | | s_atifragshader.h Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol. s_atifragshader.c Include s_context.h for SWcontext symbol.
* swrast: Clean up header file inclusion in s_alpha.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
* r300c: do not advertise half float vertex on RV3xx, RS4xx, RC4xxMarek Olšák2010-08-072-2/+2
| | | | | | | Fixes a hardlock. NOTE: this is a candidate for the 7.8 branch, provided the half float vertex is really implemented there.
* st/mesa: Remove unnecessary header.Vinson Lee2010-08-061-1/+0
|
* r300g: fix cbzb clears when hyperz is offMarek Olšák2010-08-075-10/+11
|
* nouveau: fix potential NULL-ptr dereference in nouveau_stateobj.hMaarten Maathuis2010-08-061-6/+4
| | | | | | | | - This can only be triggered when DEBUG_NOUVEAU_STATEOBJ is active. - Also remove a redundant pointer assignment. Reported-by: Roy Spliet <[email protected]> Signed-off-by: Maarten Maathuis <[email protected]>
* r600g: add PA_CL_CLIP_CNTL definitionJerome Glisse2010-08-061-0/+55
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: fix rendering, only enable target we write tooJerome Glisse2010-08-061-2/+2
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: really fix multi target supportJerome Glisse2010-08-064-46/+26
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* st/mesa: remove stray semicolonsBrian Paul2010-08-062-2/+2
|
* gallium: remove stray semicolonsBrian Paul2010-08-064-4/+4
|
* r600g: finish multi target rendering supportJerome Glisse2010-08-066-38/+158
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* targets/egl: Fix build by including missing headers.Vinson Lee2010-08-062-0/+2
|
* draw: Add an assertion to varray's version of trim().Chia-I Wu2010-08-071-1/+6
| | | | | | 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.
* draw: Fix draw_pt_split_prim for primitives with adjacency.Chia-I Wu2010-08-071-3/+3
| | | | Some primitives with adjacency have their "incr" wrong.
* draw: Assert that only the first vetex may have flags set.Chia-I Wu2010-08-071-13/+23
| | | | | | 642d5ba79abc6a231a5fdabb3454b9b082b0d7f8 removed flags masking for vertices other than the first one. Add assertions to be on the safe side.
* r600g: fix color format, indentation, definesJerome Glisse2010-08-063-89/+93
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* Revert "r600g: don't use dynamic state allocation for states"Jerome Glisse2010-08-0612-362/+647
| | | | | | | | | | | 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
* draw: Avoid mixed declarations and code.Chia-I Wu2010-08-063-4/+4
| | | | | | | 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.
* swrast: Reduce header file inclusion in s_aatriangle.h.Vinson Lee2010-08-061-1/+1
| | | | Include mtypes.h for GLcontext symbol.
* swrast: Reduce header file inclusion in s_aaline.h.Vinson Lee2010-08-061-1/+1
| | | | Include mtypes.h for GLcontext symbol.
* r300g: Remove unnecessary headers.Vinson Lee2010-08-051-2/+0
|
* r600g: start to fix up multiple targets.Dave Airlie2010-08-063-17/+50
| | | | | | fixup exports from pixel shader for multi-cbs + depth buffer writing. Still crashes GPU running any of the multi-buffer or depth writing