Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r600g: only pick centroid coordinate when asked. | Dave Airlie | 2010-10-14 | 2 | -1/+4 |
| | | | | TGSI tells us when to use this, its not hooked up from GLSL to MESA to TGSI yet though. | ||||
* | r600g: Fix texture sampling with swizzled coords | Fredrik Höglund | 2010-10-14 | 1 | -1/+1 |
| | | | | Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: drop unused context members | Dave Airlie | 2010-10-14 | 1 | -2/+0 |
| | |||||
* | llvmpipe: Generalize the x8z24 fast path to all depth formats. | José Fonseca | 2010-10-13 | 1 | -111/+82 |
| | | | | | | | | | | | | | Together with the previous commit, this generalize the benefits of d2cf757f44f4ee5554243f3279483a25886d9927 to all depth formats, in particular: - simpler float -> 24unorm conversion - avoid unsigned comparisons (not directly supported on SSE) by aligning to the least significant bit - avoid unecessary/repeated mask ANDing Verified with trivial/tri-z that the exact same assembly is produced for X8Z24. | ||||
* | llvmpipe: Unbreak Z32_FLOAT. | José Fonseca | 2010-10-13 | 3 | -64/+93 |
| | | | | | | | | | | | | | Z32_FLOAT uses <4 x float> as intermediate/destination type, instead of <4 x i32>. The necessary bitcasts got removed with commit 5b7eb868fde98388d80601d8dea39e679828f42f Also use depth/stencil type and build contexts consistently, and make the depth pointer argument a ordinary <i8 *>, to catch this sort of issues in the future (and also to pave way for Z16 and Z32_FLOAT_S8_X24 support). | ||||
* | r600g: fix stencil export for evergreen harder | Dave Airlie | 2010-10-13 | 2 | -3/+3 |
| | |||||
* | r600g: fix relative addressing when splitting constant accesses | Stephan Schmid | 2010-10-13 | 1 | -0/+2 |
| | | | | Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: add missing eg reg definition | Dave Airlie | 2010-10-13 | 1 | -0/+3 |
| | |||||
* | r600g: evergreen add stencil export bit | Dave Airlie | 2010-10-13 | 1 | -0/+5 |
| | |||||
* | r600g: use blitter for hw copy region | Dave Airlie | 2010-10-13 | 1 | -2/+31 |
| | | | | | at the moment depth copies are failing (piglit depth-level-clamp) so use the fallback for now until get some time to investigate. | ||||
* | r600g: drop all use of unsigned long | Dave Airlie | 2010-10-13 | 2 | -11/+11 |
| | | | | this changes size on 32/64 bit so is definitely no what you want to use here. | ||||
* | r600g: fix transfer stride. | Dave Airlie | 2010-10-13 | 1 | -0/+3 |
| | | | | fixes segfaults | ||||
* | r600g: remove bpt and start using pitch_in_bytes/pixels. | Dave Airlie | 2010-10-13 | 4 | -12/+20 |
| | | | | | this mirror changes in r300g, bpt is kinda useless when it comes to some of the non-simple texture formats. | ||||
* | r600g: rename pitch in texture to pitch_in_bytes | Dave Airlie | 2010-10-13 | 4 | -14/+14 |
| | |||||
* | r600g: use common texture object create function | Dave Airlie | 2010-10-13 | 1 | -33/+41 |
| | |||||
* | r600g: split out miptree setup like r300g | Dave Airlie | 2010-10-13 | 1 | -12/+43 |
| | | | | just a cleanup step towards tiling | ||||
* | r600g: add copy into tiled texture | Dave Airlie | 2010-10-13 | 1 | -3/+22 |
| | |||||
* | r600g: the vs/ps const arrays weren't actually being used. | Dave Airlie | 2010-10-13 | 2 | -16/+0 |
| | | | | completely removed them. | ||||
* | r600g: reduce size of context structure. | Dave Airlie | 2010-10-13 | 2 | -4/+35 |
| | | | | | this thing will be in the cache a lot, so having massive big struct arrays inside it won't be helping anyone. | ||||
* | r600g: store samplers/views across blit when we need to modify them | Dave Airlie | 2010-10-13 | 4 | -31/+66 |
| | | | | also fixup framebuffer state copies to avoid bad state. | ||||
* | r600g: fix scissor/cliprect confusion | Dave Airlie | 2010-10-13 | 2 | -100/+10 |
| | | | | | gallium calls them scissors, but r600 hw like r300 is better off using cliprects to implement them as we can turn them on/off a lot easier. | ||||
* | r600g: fix depth0 setting | Dave Airlie | 2010-10-13 | 1 | -2/+2 |
| | |||||
* | draw/llvmpipe: replace DRAW_MAX_TEXTURE_LEVELS with PIPE_MAX_TEXTURE_LEVELS | Brian Paul | 2010-10-12 | 1 | -3/+3 |
| | | | | | There's no apparent reason for the former to exist. And they didn't even have the same value. | ||||
* | r600g: add shader stencil export support. | Dave Airlie | 2010-10-13 | 3 | -2/+18 |
| | |||||
* | r600g: add support for S8, X24S8 and S8X24 sampler formats. | Dave Airlie | 2010-10-13 | 1 | -0/+8 |
| | |||||
* | softpipe: add support for shader stencil export capability | Dave Airlie | 2010-10-13 | 5 | -12/+67 |
| | | | | | | this allows softpipe to be used to test shader stencil ref exporting. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | gallium/tgsi: add support for stencil writes. | Dave Airlie | 2010-10-13 | 1 | -2/+10 |
| | | | | | | this adds the capability + a stencil semantic id, + tgsi scan support. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | llvmpipe: make sure intrinsics code is guarded with PIPE_ARCH_SSE | Keith Whitwell | 2010-10-12 | 1 | -40/+42 |
| | |||||
* | llmvpipe: improve mm_mullo_epi32 | José Fonseca | 2010-10-12 | 1 | -4/+3 |
| | | | | | Apply Jose's suggestions for a small but measurable improvement in isosurf. | ||||
* | Revert "llvmpipe: try to keep plane c values small" | Keith Whitwell | 2010-10-12 | 2 | -24/+17 |
| | | | | | | | This reverts commit 9773722c2b09d5f0615a47cecf4347859474dc56. Looks like there are some floor/rounding issues here that need to be better understood. | ||||
* | r600g: add missing file to sconscript | Keith Whitwell | 2010-10-12 | 1 | -0/+1 |
| | |||||
* | gallium: move sse intrinsics debug helpers to u_sse.h | Keith Whitwell | 2010-10-12 | 2 | -116/+0 |
| | |||||
* | llvmpipe: Fix MSVC build. | José Fonseca | 2010-10-12 | 1 | -18/+18 |
| | | | | MSVC doesn't accept more than 3 __m128i arguments. | ||||
* | llvmpipe: fix typo in last commit | Keith Whitwell | 2010-10-12 | 1 | -2/+2 |
| | |||||
* | llvmpipe: try to keep plane c values small | Keith Whitwell | 2010-10-12 | 2 | -17/+24 |
| | | | | Avoid accumulating more and more fixed point bits. | ||||
* | llvmpipe: add debug helpers for epi32 etc | Keith Whitwell | 2010-10-12 | 1 | -0/+115 |
| | |||||
* | llvmpipe: try to do more of rast_tri_3_16 with intrinsics | Keith Whitwell | 2010-10-12 | 2 | -9/+271 |
| | | | | | | | | There was actually a large quantity of scalar code in these functions previously. This tries to move more into intrinsics. Introduce an sse2 mm_mullo_epi32 replacement to avoid sse4 dependency in the new rasterization code. | ||||
* | llvmpipe: Do not dispose the execution engine. | José Fonseca | 2010-10-12 | 1 | -3/+0 |
| | | | | The engine is a global owned by gallivm module. | ||||
* | nouveau: Get larger push buffers. | Francisco Jerez | 2010-10-12 | 1 | -1/+1 |
| | | | | | Useful to amortize the command submission/reloc overhead (e.g. etracer goes from 72 to 109 FPS on nv4b). | ||||
* | r600g: fix typo in vertex sampling on r600 | Dave Airlie | 2010-10-12 | 1 | -1/+1 |
| | | | | | | fixes https://bugs.freedesktop.org/show_bug.cgi?id=30771 Reported-by: Kevin DeKorte | ||||
* | llvmpipe: Use lp_tgsi_info. | José Fonseca | 2010-10-11 | 4 | -30/+31 |
| | |||||
* | llvmpipe: Remove outdated comment about stencil testing. | José Fonseca | 2010-10-11 | 1 | -9/+2 |
| | |||||
* | r600g: don't run with scissors. | Dave Airlie | 2010-10-11 | 2 | -0/+92 |
| | | | | | | This could probably be done much nicer, I've spent a day chasing a coherency problem in the kernel, that turned out to be incorrect scissor setup. | ||||
* | r600g: add TXL opcode support. | Dave Airlie | 2010-10-11 | 1 | -2/+2 |
| | | | | fixes glsl1-2D Texture lookup with explicit lod (Vertex shader) | ||||
* | r600g: enable vertex samplers. | Dave Airlie | 2010-10-11 | 4 | -9/+21 |
| | | | | | | | | We need to move the texture sampler resources out of the range of the vertex attribs. We could probably improve this using an allocator but this is the simple answer for now. makes mesa-demos/src/glsl/vert-tex work. | ||||
* | r600g: evergreen has no request size bit in texture word4 | Dave Airlie | 2010-10-11 | 2 | -4/+0 |
| | |||||
* | r600g: fix input/output Z export mixup for evergreen. | Dave Airlie | 2010-10-11 | 1 | -1/+1 |
| | |||||
* | gallivm: Cleanup the rest of the flow module. | José Fonseca | 2010-10-09 | 1 | -10/+2 |
| | |||||
* | gallivm: Remove support for Phi generation. | José Fonseca | 2010-10-09 | 1 | -4/+0 |
| | | | | Simply rely on mem2reg pass. It's easier and more reliable. | ||||
* | gallivm: Don't generate Phis for execution mask. | José Fonseca | 2010-10-09 | 2 | -9/+7 |
| |