summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* llvmpipe: set WRITE_ALL only a per-tile basis in lp_resource_copy().José Fonseca2010-06-281-9/+17
|
* llvmpipe: Actually flush in lp_resource_copy()José Fonseca2010-06-281-2/+2
| | | | The cpu_access is redundant in a software rasterizer.
* llvmpipe: Ensure outdated framebuffer state is not reused in ↵José Fonseca2010-06-282-4/+9
| | | | | | | | | | | | | | | | lp_setup_bind_framebuffer(). We were starting a scene whenever lp_setup_get_vertex_info() was called by the draw module. So when when all primitives were culled/clipped, not only did we create a new scene for nothing, but we end up using the old scene with the old framebuffer state instead of a new one. Fix consists in: - don't call lp_setup_update_state() in lp_setup_get_vertex_info() -- no longer necessary - always setting the scene state before binning a command -- query commands were bypassing it - assert no old scene is reused in lp_setup_bind_framebuffer()
* r300g: fix a compile error on non-debug buildsMarek Olšák2010-06-271-1/+1
|
* util: fix a memory leak in blitterMarek Olšák2010-06-271-6/+1
|
* r300g: separate the hyperz state and pipelined FB regs out of the FB stateMarek Olšák2010-06-275-11/+76
|
* r300g: release referenced objects in destroy_contextMarek Olšák2010-06-271-9/+40
|
* r300g: reference surfaces in set_framebuffer_stateMarek Olšák2010-06-271-1/+19
|
* r300g: group debug messagesMarek Olšák2010-06-271-21/+24
|
* r300g: turn rasterizer state into a command bufferMarek Olšák2010-06-274-98/+122
|
* r300g: move emission of the MSPOS regs into the framebuffer stateMarek Olšák2010-06-274-52/+40
| | | | | | | | Now the question is whether we are allowed to ignore gl_rasterization_rules and pipe_rasterizer_state::multisample. The former is invariant anyway and I think the latter would need re-emitting the AA state which is quite costly, considering that it implicitly flushes the whole pipeline (all AA regs in the AA state are *unpipelined*).
* r300g: turn invariant state into a command bufferMarek Olšák2010-06-278-95/+40
|
* r300g: initialize some crucial state in the first CSMarek Olšák2010-06-271-7/+8
|
* r300g: introduce VAP invariant stateMarek Olšák2010-06-266-15/+41
| | | | Unlike other invariant states, this one must be emitted after VAP flush.
* r300g: immediate mode cleanupMarek Olšák2010-06-261-16/+12
|
* r300g: update my notes about fastfill and zbuffer compressionMarek Olšák2010-06-262-11/+24
|
* r300g: enum r300_blitter_op is a bitmaskMarek Olšák2010-06-261-4/+4
|
* draw: fix build with llvm and makeMarek Olšák2010-06-261-0/+1
|
* draw: Remove unnecessary header.Vinson Lee2010-06-261-1/+0
|
* draw: deleted by mistakeZack Rusin2010-06-251-0/+1
|
* draw: initialize headers in the none post paths as wellZack Rusin2010-06-251-0/+8
|
* draw: limit the number of vertex shader variants kept aroundZack Rusin2010-06-258-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 headerZack Rusin2010-06-253-43/+16
|
* gallium/util: fix pipe_sampler_view_reference() callsBrian Paul2010-06-251-7/+2
| | | | The conditionals aren't needed.
* softpipe: rename a varBrian Paul2010-06-251-4/+4
|
* draw: Work around an invalid write.Chia-I Wu2010-06-251-1/+1
| | | | | SSE vertex shader does not seem to honor the execution mask. Pad the output array as a workaround.
* llvmpipe: fix comment typoBrian Paul2010-06-251-1/+1
|
* softpipe: fix comment typoBrian Paul2010-06-251-1/+1
|
* r300g: a couple more chipsets do not have HiZ RAMMarek Olšák2010-06-241-0/+4
|
* gallium/docs: Vertex data formats.Corbin Simpson2010-06-241-3/+38
| | | | | | I'm not sure if I really got it right. This seems like one of those "Duh, of course it works that way" things, but I'd like the documentation to be readable by people not acquainted with OGL/D3D.
* glhd: Add test for logicop enable.Corbin Simpson2010-06-241-0/+7
| | | | | | | | | Only for first RT at the moment, as there is no trivial way in galahad to look at framebuffer state and (sadly) people don't usually calloc their CSOs, so flags could be wrongly set. On the other hand, of course, galahad will hopefully encourage more people to calloc their CSOs. :3
* gallium/docs: Lops override the rest of the blending state when enabled.Corbin Simpson2010-06-241-2/+4
|
* gallium/docs: updated remaining semantic label docsBrian Paul2010-06-241-22/+33
|
* pipe: Add PIPE_OS_HURDnobled2010-06-241-0/+5
| | | | | | | One tiny step toward porting Gallium to the GNU/Hurd kernel (and fixing Debian bug #585618). Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
* gallium/docs: Add lop table.Corbin Simpson2010-06-241-0/+26
| | | | Was feeling kind of weird without it.
* gallium/docs: Slight clarification and formatting for Blend.Corbin Simpson2010-06-241-7/+32
|
* r300g: remove an XXX commentMarek Olšák2010-06-241-7/+0
|
* r300g: move AA registers into the new AA stateMarek Olšák2010-06-247-29/+80
|
* r300g: separate the cache flush from the framebuffer stateMarek Olšák2010-06-245-18/+54
|
* r300g: reorder and cleanup register writes everywhereMarek Olšák2010-06-245-80/+79
|
* r300g: add "has HiZ" flag, add ZMask regsMarek Olšák2010-06-243-0/+23
|
* gallium/docs: document TGSI_SEMANTIC_EDGEFLAGBrian Paul2010-06-231-1/+9
|
* gallium/docs: update TEXTURE_SHADOW_MAP MAX_PREDICATE_REGISTERSBrian Paul2010-06-231-2/+10
|
* gallium/docs: fix definitions of TGSI_SEMANTIC_POSITION, COLORBrian Paul2010-06-231-18/+26
|
* draw: use gallium's TRUE/FALSEBrian Paul2010-06-232-2/+2
|
* llvmpipe: Remove unnecessary header.Vinson Lee2010-06-231-1/+0
|
* glhd: Simple rasterizer checks.Corbin Simpson2010-06-231-0/+10
| | | | From the documentation.
* id, glhd: Unbreak texturing.Corbin Simpson2010-06-232-0/+2
| | | | Argfl.
* glhd: Use an environment variable (GALAHAD) to enable. Off by default.Corbin Simpson2010-06-232-2/+4
|
* draw: don't try to precalculate the pipeline output primitiveKeith Whitwell2010-06-238-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.