Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | draw: Add inline keyword to inline function. | José Fonseca | 2010-06-29 | 1 | -1/+1 |
| | | | | Otherwise gcc will warn about unusued functions. | ||||
* | util: reference surfaces and sampler views in blitter when saving them | Marek Olšák | 2010-06-29 | 2 | -5/+46 |
| | | | | Ooops. This should possibly fix some bugs... | ||||
* | glhd: Re-integrate with the debug system | Jakob Bornecrantz | 2010-06-28 | 1 | -0/+8 |
| | |||||
* | Merge branch 'gallium-drm-driver-drescriptor' | Jakob Bornecrantz | 2010-06-28 | 3 | -0/+133 |
|\ | | | | | | | | | | | | | | | | | Conflicts: src/gallium/state_trackers/egl/x11/native_dri2.c src/gallium/state_trackers/egl/x11/native_x11.c src/gallium/state_trackers/egl/x11/native_x11.h src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/radeon/drm/radeon_drm.c | ||||
| * | gallium: Add debug target helper | Jakob Bornecrantz | 2010-06-24 | 1 | -0/+36 |
| | | |||||
| * | gallium: Remove drm_api and all references to it | Jakob Bornecrantz | 2010-06-24 | 1 | -46/+0 |
| | | |||||
| * | target-helpers: Add inline helpers | Jakob Bornecrantz | 2010-06-23 | 2 | -0/+97 |
| | | |||||
| * | gallium: drm api compat helper | Jakob Bornecrantz | 2010-06-06 | 1 | -0/+46 |
| | | | | | | | | | | This is temporary untill all drivers have moved to the new drm driver descriptor interface. | ||||
* | | util: fix a memory leak in blitter | Marek Olšák | 2010-06-27 | 1 | -6/+1 |
| | | |||||
* | | draw: fix build with llvm and make | Marek Olšák | 2010-06-26 | 1 | -0/+1 |
| | | |||||
* | | draw: Remove unnecessary header. | Vinson Lee | 2010-06-26 | 1 | -1/+0 |
| | | |||||
* | | draw: deleted by mistake | Zack Rusin | 2010-06-25 | 1 | -0/+1 |
| | | |||||
* | | draw: initialize headers in the none post paths as well | Zack Rusin | 2010-06-25 | 1 | -0/+8 |
| | | |||||
* | | draw: limit the number of vertex shader variants kept around | Zack Rusin | 2010-06-25 | 8 | -62/+324 |
| | | | | | | | | | | | | | | we used to create and cache unltimited number of variant, this change limits the number of variants kept around to a fixed number. the change is based on a similar patch by Roland for llvmpipe fragment shaders. | ||||
* | | draw: initialize vertex header | Zack Rusin | 2010-06-25 | 3 | -43/+16 |
| | | |||||
* | | gallium/util: fix pipe_sampler_view_reference() calls | Brian Paul | 2010-06-25 | 1 | -7/+2 |
| | | | | | | | | The conditionals aren't needed. | ||||
* | | draw: Work around an invalid write. | Chia-I Wu | 2010-06-25 | 1 | -1/+1 |
| | | | | | | | | | | SSE vertex shader does not seem to honor the execution mask. Pad the output array as a workaround. | ||||
* | | draw: use gallium's TRUE/FALSE | Brian Paul | 2010-06-23 | 2 | -2/+2 |
| | | |||||
* | | draw: don't try to precalculate the pipeline output primitive | Keith Whitwell | 2010-06-23 | 8 | -34/+46 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were previously calculating a value which was either the geometry shader output primitive or the application's input primitive, and passing that to the various front/middle/back components for use as the ultimate rendering primtive. Unfortunately, this was not correct -- if the vcache decomposition path is active and geometry shaders are *not* active, we can end up with a third primitive -- specifically the decomposed version of the input primitive. Rather than trying to precalculate this, just let the individual components inform their successors about which primitive type they are recieving. | ||||
* | | draw: mask off DRAW_PIPE_FLAG_MASK bits in prim decompose code | Brian Paul | 2010-06-23 | 1 | -25/+25 |
| | | | | | | | | | | | | | | | | Any elt may potentially have flags bits set so mask off those bits everywhere. Fixes crashes with demos/gamma.c, redbook/polys.c, etc. but polygon stippling is still broken. | ||||
* | | u_math: Add align function npot alignments | Jakob Bornecrantz | 2010-06-22 | 1 | -0/+14 |
| | | |||||
* | | gallium: add a timestamp disjoint query | Zack Rusin | 2010-06-22 | 1 | -1/+1 |
| | | | | | | | | | | | | allows application to not only request the frequency of the TIME_ELAPSED clock but also to detect if that frequency was consistent throughout the entire bracketed range of graphics commands. | ||||
* | | gallium: add a temporary array register file | Zack Rusin | 2010-06-18 | 9 | -131/+324 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 8 | -59/+227 |
| | | | | | | | | | | | | 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. | ||||
* | | 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 | ||||
* | | 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 | ||||
* | | 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 | 6 | -124/+190 |
| | | | | | | | | | | 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 |
| | | |||||
* | | 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 |
| | | |||||
* | | 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 |
| | | |||||
* | | 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 | ||||
* | | draw: finish the new pipeline setup | Zack Rusin | 2010-06-15 | 9 | -245/+238 |
| | | | | | | | | | | | | | | Keith came up with a new way of running the pipeline which involves passing a few info structs around (for fetch, vertices and prims) and allows us to correctly handle cases where we endup with multiple primitives generated by the pipeline itself. | ||||
* | | draw wip | Keith Whitwell | 2010-06-15 | 8 | -319/+342 |
| | | |||||
* | | gallivm: Omit references to NoFramePointerElimNonLeaf | José Fonseca | 2010-06-14 | 1 | -3/+0 |
| | | | | | | | | It was added after 2.7. | ||||
* | | util: Use int type for format field width. | José Fonseca | 2010-06-14 | 1 | -1/+1 |
| | | | | | | | | As suggested by gcc warning. | ||||
* | | gallivm: Override some of the default target options. | José Fonseca | 2010-06-14 | 2 | -0/+31 |
| | | | | | | | | | | | | | | In particular: - enable LLVM <-> GDB integration for JIT code - disable frame-pointer elimination on debug/profile builds - enable fast-math. | ||||
* | | gallivm: Use func_to_pointer(). | José Fonseca | 2010-06-14 | 1 | -16/+1 |
| | | |||||
* | | util: Add a func_to_pointer util function too. | José Fonseca | 2010-06-14 | 1 | -0/+11 |
| | |