Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300g: fix up the CS size of the rasterizer state | Marek Olšák | 2010-06-19 | 1 | -2/+2 |
| | |||||
* | graw: add two examples using new register files | Zack Rusin | 2010-06-18 | 2 | -0/+24 |
| | |||||
* | gallium: add a temporary array register file | Zack Rusin | 2010-06-18 | 10 | -131/+325 |
| | | | | | | | | | | | | | | like normal temporaries, but allows to define a number of distinct arrays, all of which make it explicit that they contain /indexable/ registers. as a side-effect we're adding support for multi-dimensional destination registers. The whole thing looks like this: DCL TEMPX[0][0..128] # 0 array with 128 registers ADD TEMPX[0][0], IN[0], IMM[0] ADD TEMPX[0][1], IN[0], IMM[0] ABS OUT[0], TEMPX[0][TEMP[0]] | ||||
* | gallium: add a new register file - immediate array | Zack Rusin | 2010-06-18 | 9 | -71/+240 |
| | | | | | | allows one to specify a safe (bound checked) array filled with immediates. it works just like a const array and declares much like our current immediates. | ||||
* | llvmpipe: Fix pointer dereference after free. | José Fonseca | 2010-06-18 | 1 | -1/+2 |
| | |||||
* | llvmpipe: limit the number of fragment shader variants kept around | Roland Scheidegger | 2010-06-18 | 5 | -35/+107 |
| | | | | | | | | | | | | | | | | | | llvmpipe can create a large number of shader variants for a single shader (which are quite big), and they were only ever deleted if the shader itself was deleted. This is especially apparent in things like glean blendFunc where a new variant is created for every different subtest, chewing up all memory. This change limits the numbers of fragment shader variants (for all shaders) which are kept around to a fixed number. If that would be exceeded a fixed portion of the cached variants is deleted (since without tracking the used variants this involves flushing we don't want to delete only one). Always the least recently used variants (from all shaders together) are deleted. For now this is all per-context. Both the number of how many variants are cached (1024) as well as how many will be deleted at once (1/4 of the cache size) are just rough guesses and subject to further optimization. | ||||
* | r300g: fix hardlocks in occlusion queries | Marek Olšák | 2010-06-18 | 1 | -1/+1 |
| | | | | | | | | Early Z test (=ZTOP) must be disabled before a query is started, otherwise the GPU is dead. The order of emitted registers matters more than you might think. This fixes hardlocks in sauerbraten. | ||||
* | r300g: debug option for fake occlusion queries | Marek Olšák | 2010-06-18 | 3 | -6/+58 |
| | |||||
* | draw: implement triangle strips with adjacency in geometry shader | Zack Rusin | 2010-06-17 | 1 | -1/+12 |
| | |||||
* | draw: implement triangle lists with adjacency support in gs | Zack Rusin | 2010-06-17 | 2 | -1/+31 |
| | |||||
* | draw: fix a silly error | Zack Rusin | 2010-06-17 | 1 | -1/+1 |
| | |||||
* | draw: implement line strip adjacency | Zack Rusin | 2010-06-17 | 1 | -0/+5 |
| | |||||
* | draw: implement lines with adjacency in geometry shaders | Zack Rusin | 2010-06-17 | 2 | -18/+48 |
| | |||||
* | draw: validate stream output buffers | Zack Rusin | 2010-06-17 | 1 | -1/+16 |
| | | | | fixes a crash. | ||||
* | draw: fix some unsigned issue | Zack Rusin | 2010-06-17 | 1 | -4/+4 |
| | | | | spotted by Vinson | ||||
* | egl: s/EGL_DISPLAY/EGL_PLATFORM/. | Chia-I Wu | 2010-06-17 | 2 | -12/+12 |
| | | | | | A platform is already used to mean a window system in EGL. No need to use a different term. | ||||
* | r300g: more reasonable MSPOS defaults in error path | Marek Olšák | 2010-06-17 | 1 | -2/+2 |
| | |||||
* | r300g: fix surface leaks | Marek Olšák | 2010-06-17 | 1 | -0/+3 |
| | |||||
* | gallium/docs: GLSL glossary entry. | Corbin Simpson | 2010-06-16 | 1 | -0/+4 |
| | |||||
* | gallium/docs: Explain DFRACEXP/DLDEXP. | Corbin Simpson | 2010-06-16 | 1 | -5/+15 |
| | |||||
* | gallium/docs: Remove unneeded "doubles", add double blurb. | Corbin Simpson | 2010-06-16 | 1 | -13/+18 |
| | |||||
* | gallium/docs: Label opcodes by capability bits. | Corbin Simpson | 2010-06-16 | 1 | -9/+20 |
| | |||||
* | gallium/docs: R and RG texture swizzles. | Corbin Simpson | 2010-06-16 | 1 | -2/+2 |
| | | | | | We *did* reach an agreement on this a few months ago, and now the docs reflect it. However, we never got around to UV and Z... | ||||
* | gallium/docs: Flesh out the distro information. | Corbin Simpson | 2010-06-16 | 2 | -10/+46 |
| | | | | | I'm not sure I picked the best voice here. I might come back to this later. | ||||
* | gallium/docs: Fix RST error. | Corbin Simpson | 2010-06-16 | 1 | -1/+1 |
| | |||||
* | r300g: Fix uninitialized variable warnings in error path. | Vinson Lee | 2010-06-16 | 1 | -0/+2 |
| | |||||
* | draw: make sure we correctly iterate over output buffers on stream out | Zack Rusin | 2010-06-16 | 1 | -5/+11 |
| | | | | | we kept overwriting the first attribute of a vertex in a single-stream- out-buffer case | ||||
* | graw: remove wrong test | Zack Rusin | 2010-06-16 | 1 | -23/+0 |
| | |||||
* | draw: add stream output decomposition file | Zack Rusin | 2010-06-16 | 1 | -0/+123 |
| | |||||
* | draw: rewrite stream output to handle all the dark corners | Zack Rusin | 2010-06-16 | 7 | -128/+196 |
| | | | | | register masks, multiple output buffers, multiple primitives, non-linear vertices (elts) and stride semantics. | ||||
* | translate: don't crash on elts paths with instances | Zack Rusin | 2010-06-16 | 1 | -10/+13 |
| | |||||
* | r300g: Fix up resolve. | Corbin Simpson | 2010-06-16 | 1 | -12/+8 |
| | | | | Yay for old code. | ||||
* | r300g: Fix MSAA state size. | Corbin Simpson | 2010-06-16 | 1 | -1/+1 |
| | |||||
* | r300g: Don't multisample non-32-bpp render targets. | Corbin Simpson | 2010-06-16 | 1 | -0/+6 |
| | |||||
* | r300g: Finish resolve function. | Corbin Simpson | 2010-06-16 | 1 | -6/+14 |
| | |||||
* | r300g: Add resource resolve function. | Corbin Simpson | 2010-06-16 | 1 | -0/+35 |
| | |||||
* | r300g: Moar MSAA setup. | Corbin Simpson | 2010-06-16 | 4 | -11/+63 |
| | | | | Need to just add the resolve, then go switch to new DRM and test. | ||||
* | r300g: Fix indentation. | Corbin Simpson | 2010-06-16 | 1 | -4/+7 |
| | | | | I could *not* let this slide since I'm on a 78-char-wide terminal. | ||||
* | r300g: Old MSAA code from before gallium-msaa. | Corbin Simpson | 2010-06-16 | 4 | -9/+15 |
| | |||||
* | util: add alloc check | Alan Hourihane | 2010-06-16 | 1 | -0/+2 |
| | |||||
* | draw: add alloc check | Alan Hourihane | 2010-06-16 | 1 | -0/+2 |
| | |||||
* | draw: handle some out of memory conditions | Alan Hourihane | 2010-06-16 | 12 | -35/+69 |
| | |||||
* | graw: add a gs test for non-sequential inputs | Zack Rusin | 2010-06-16 | 2 | -10/+52 |
| | |||||
* | draw: Remove unnecessary headers. | Vinson Lee | 2010-06-15 | 2 | -2/+0 |
| | |||||
* | gs: make sure we end primitives when finishing executing shaders | Zack Rusin | 2010-06-15 | 3 | -26/+23 |
| | |||||
* | draw/gs: make sure gs works with elts and doesn't overrun the buffer | Zack Rusin | 2010-06-15 | 2 | -11/+43 |
| | |||||
* | graw: test multiple cb's in geometry shaders | Zack Rusin | 2010-06-15 | 2 | -18/+82 |
| | |||||
* | graw: fix setup for multiple constant buffers | Zack Rusin | 2010-06-15 | 2 | -21/+64 |
| | |||||
* | draw: run the pipeline with the correct number of verts | Zack Rusin | 2010-06-15 | 1 | -1/+1 |
| | | | | verts per primitive, not total count | ||||
* | draw: fix primitive indexing in the pipeline | Zack Rusin | 2010-06-15 | 1 | -2/+4 |
| | | | | spotted by Keith |