Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300g: add new debug options for dumping scissor regs and disabling CBZB clear | Marek Olšák | 2010-09-13 | 5 | -3/+16 |
| | |||||
* | r300g: skip rendering if CS space validation fails | Marek Olšák | 2010-09-13 | 3 | -52/+73 |
| | | | | | | | | | radeon_cs_space_check flushes the pipe context on failure, retries the validation, and returns -1 if it fails again. At that point, there is nothing we can do, so let's skip draw operations instead of getting stuck in an infinite loop. This code path ideally should never be hit. | ||||
* | r300g: remove u_upload_flush from r300_draw_arrays | Marek Olšák | 2010-09-13 | 1 | -1/+0 |
| | | | | | This a leftover probably and is unnecessary, since we flush u_upload_mgr in r300_flush. | ||||
* | nvfx: Remove unused variables. | Vinson Lee | 2010-09-12 | 3 | -3/+1 |
| | |||||
* | nvfx: Move declaration before code. | Vinson Lee | 2010-09-12 | 1 | -6/+12 |
| | | | | Fixes SCons build. | ||||
* | llvmpipe: introduce tri_3_4 for tiny triangles | Keith Whitwell | 2010-09-12 | 6 | -46/+127 |
| | |||||
* | llvmpipe: allow tri_3_16 at any 4-aligned location within a tile | Keith Whitwell | 2010-09-12 | 1 | -27/+50 |
| | | | | Doesn't require 16-alignment, so catch more cases. | ||||
* | llvmpipe: refactor tri_3_16 | Keith Whitwell | 2010-09-12 | 1 | -17/+47 |
| | | | | | Keep step array as a set of four m128i's and reuse throughout the rasterization. | ||||
* | llvmpipe: pass linear masks to fragment shader | Keith Whitwell | 2010-09-12 | 3 | -73/+23 |
| | | | | Fragment shader can extract the correct bits for each quad. | ||||
* | llvmpipe: fix warnings on both 32 and 64 bit builds | Keith Whitwell | 2010-09-12 | 1 | -3/+3 |
| | |||||
* | llvmpipe: fix wierd performance regression in isosurf | Keith Whitwell | 2010-09-12 | 1 | -6/+8 |
| | | | | | | | | | | | | I really don't understand the mechanism behind this, but it seems like the way data blocks for a scene are malloced, and in particular whether we treat them as stack or a queue, and whether we retain the most recently allocated or least recently allocated has a real affect (~5%) on isosurf framerates... This is probably specific to my distro or even just my machine, but none the less, it's nicer not to see the framerates go in the wrong direction. | ||||
* | pb: Fix the build, and add notes. | José Fonseca | 2010-09-12 | 5 | -5/+14 |
| | |||||
* | llvmpipe: Only generate the whole shader specialization for opaque shaders. | José Fonseca | 2010-09-12 | 1 | -1/+7 |
| | | | | | If not opaque, then the color buffer will have to be read any way, therefore the specialization is pointless. | ||||
* | pb: add void * for flush ctx to mapping functions | Dave Airlie | 2010-09-12 | 11 | -28/+24 |
| | | | | | | | | | | If the buffer we are attempting to map is referenced by the unsubmitted command stream for this context, we need to flush the command stream, however to do that we need to be able to access the context at the lowest level map function, currently we set the buffer in the toplevel map, but this racy between context. (we probably have a lot more issues than that.) I'll look into a proper solution as suggested by jrfonseca when I get some time. | ||||
* | nv30: fix breakage due to 10 texcoord support on nv40 | Luca Barbieri | 2010-09-11 | 1 | -2/+2 |
| | |||||
* | mesa: Fix depend.es[12] generation when LLVM is enabled. | Chia-I Wu | 2010-09-12 | 2 | -29/+27 |
| | | | | | | "llvm-config --cflags" outputs -f options, which conflict makedepend. Clean up compiler flags and append LLVM_CFLAGS to the new xxx_CFLAGS instead of xxx_CPPFLAGS, where xxx may be MESA, ES1, or ES2. | ||||
* | r600g: Undo bo placement change. | Tilman Sauerbeck | 2010-09-11 | 1 | -1/+1 |
| | | | | | | | This reverts a part of e795ca8f3175fa6fd97b6b2ef2775e3f8803012a that causes artefacts and a performance drop. Signed-off-by: Tilman Sauerbeck <[email protected]> | ||||
* | llvmpipe: Silence some warnings. | José Fonseca | 2010-09-11 | 1 | -2/+2 |
| | |||||
* | gallivm: nr_channels is only valid for formats with plain layout. | José Fonseca | 2010-09-11 | 1 | -3/+1 |
| | | | | | | | | This is erroneously throwing non plain formats out of the faster AoS sampling path. Doing 8bit interpolation for single channels such as L8 should be no worse than with floating point. But this may need more investigation. | ||||
* | gallivm: Use const keyword on swizzles. | José Fonseca | 2010-09-11 | 2 | -2/+2 |
| | |||||
* | gallivm: Allow to TGSI AoS translation to happen in BGRA ordering. | José Fonseca | 2010-09-11 | 2 | -33/+87 |
| | | | | Or any ordering. | ||||
* | llvmpipe: Don't store display the alpha ref value in the key. | José Fonseca | 2010-09-11 | 4 | -12/+13 |
| | | | | It's never used. | ||||
* | gallivm: Add a new debug flag to warn about performance issues. | José Fonseca | 2010-09-11 | 8 | -8/+50 |
| | |||||
* | gallivm: Helper functions for pointer indirection. | José Fonseca | 2010-09-11 | 2 | -0/+56 |
| | |||||
* | gallivm: Cleanup the TGSI <-> sampler interface. | José Fonseca | 2010-09-11 | 2 | -9/+4 |
| | |||||
* | gallivm: Add some utility functions to set/get array elements too. | José Fonseca | 2010-09-11 | 2 | -0/+70 |
| | |||||
* | gallivm: Basic AoS TGSI -> LLVM IR. | José Fonseca | 2010-09-11 | 4 | -0/+1156 |
| | | | | Essentially a variation of the SoA version. | ||||
* | gallivm: Move the texture modifiers to the header. | José Fonseca | 2010-09-11 | 2 | -19/+20 |
| | | | | Useful to pass these around. | ||||
* | gallivm: s/lp_build_broadcast_aos/lp_build_swizzle_scalar_aos/ | José Fonseca | 2010-09-11 | 3 | -6/+9 |
| | | | | More accurate description of this function purpose. | ||||
* | Add a test for the KIL opcode | Alex Corscadden | 2010-09-11 | 1 | -0/+18 |
| | | | | | This is a simple test for the KIL opcode. It should render a 6 sided figure with a colored interior. | ||||
* | llvmpipe: restore larger command blocks | Keith Whitwell | 2010-09-11 | 1 | -1/+1 |
| | |||||
* | llvmpipe: move some debug to DEBUG_SCENE | Keith Whitwell | 2010-09-11 | 1 | -2/+2 |
| | |||||
* | llvmpipe: add DEBUG_MEM option | Keith Whitwell | 2010-09-11 | 3 | -0/+14 |
| | |||||
* | llvmpipe: allow bigger scenes | Keith Whitwell | 2010-09-11 | 1 | -1/+1 |
| | |||||
* | r300/compiler: Reorganize presub_helper() | Tom Stellard | 2010-09-10 | 1 | -33/+27 |
| | |||||
* | r300/compiler: Don't use presubtract in TEX instructions | Tom Stellard | 2010-09-10 | 1 | -1/+6 |
| | |||||
* | r300/compiler: Print the presub subtract operation in the correct order | Tom Stellard | 2010-09-10 | 1 | -6/+6 |
| | |||||
* | r300/compiler: Fix dataflow bug in presub_helper() | Tom Stellard | 2010-09-10 | 1 | -0/+2 |
| | |||||
* | r300/compiler: Replace asserts with error messages | Tom Stellard | 2010-09-10 | 1 | -2/+10 |
| | |||||
* | r300/compiler: Fix copy propigation for some presub instructions | Tom Stellard | 2010-09-10 | 1 | -1/+1 |
| | |||||
* | r300/compiler: Add peephole optimization for the 'sub' presubtract operation | Tom Stellard | 2010-09-10 | 1 | -8/+17 |
| | |||||
* | r300/compiler: Add peephole optimization for the 'add' presubtract operation | Tom Stellard | 2010-09-10 | 2 | -84/+200 |
| | |||||
* | r300/compiler: Clean up rc_pair_alloc_source() | Tom Stellard | 2010-09-10 | 1 | -20/+12 |
| | |||||
* | r300/compiler: Enable presubtract sources | Tom Stellard | 2010-09-10 | 17 | -94/+1074 |
| | | | | | | | The r300 compiler can now emit instructions that select from the presubtract source. A peephole optimization has been added to convert instructions like: ADD Temp[0].x, none.1, -Temp[1].x into the INV (1 - src0) presubtract operation. | ||||
* | mesa: Remove unused Emit flags from gl_shader_compiler_options | Ian Romanick | 2010-09-10 | 1 | -2/+0 |
| | |||||
* | intel: Remove noise opcode support from i915 and i965 drivers | Ian Romanick | 2010-09-10 | 2 | -1135/+0 |
| | | | | | With recent changes to the GLSL compiler, these opcode should never be seen in these drivers. | ||||
* | r600c: add missing header | Alex Deucher | 2010-09-10 | 1 | -0/+1 |
| | |||||
* | r600c: add OQ support for evergreen | Alex Deucher | 2010-09-10 | 3 | -16/+55 |
| | |||||
* | r600c: oq updates | Alex Deucher | 2010-09-10 | 3 | -2/+4 |
| | |||||
* | r600c: add blit support for evergreen | Alex Deucher | 2010-09-10 | 5 | -3/+1918 |
| | | | | | driver was previously calling the r600 blit code which won't work on evergreen. |