summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe
Commit message (Collapse)AuthorAgeFilesLines
* softpipe: small cleanupZack Rusin2010-06-121-1/+3
|
* gallium/softpipe/draw: support samplers in geometry shadersZack Rusin2010-06-117-1/+135
|
* softpipe: make sure we don't fallback to assert on so stats queryZack Rusin2010-06-081-0/+2
| | | | spotted by Vinson
* softpipe: make sure that invalid calls to sosettargets don't crash usZack Rusin2010-06-081-0/+7
|
* softpipe: added sp_state_so.c to file listBrian Paul2010-06-081-0/+1
|
* gallium: add basic support for stream output queriesZack Rusin2010-06-083-2/+28
|
* gallium: adjust the query interface to support custom typesZack Rusin2010-06-081-1/+2
| | | | we need to change it to support composite types
* gallium: rename draw_auto to draw_stream_output, plus fix a commentZack Rusin2010-06-083-3/+3
| | | | Brian spotted those
* gallium: make draw auto work and add relevant caps and docsZack Rusin2010-06-082-0/+12
|
* gallium: add interface for DrawAuto and implement it in softpipeZack Rusin2010-06-085-1/+70
|
* gallium: a lot more complete implementation of stream outputZack Rusin2010-06-081-0/+106
| | | | | | | interface wise we have everything needed by d3d10 and gl transform feedback. the draw module misses implementation of some corner cases (e.g. when stream output wants different number of components per output than normal rendering paths)
* gallium: basic and initial implementation of the stream output interfaceZack Rusin2010-06-084-1/+29
| | | | aka transform feedback
* softpipe: use util_clear_render_target/depth_stencil fallbacksRoland Scheidegger2010-06-071-0/+2
|
* softpipe: remove assert on setting constbufs greater than zeroKeith Whitwell2010-06-071-1/+0
|
* mesa/st: add support for EXT_texture_swizzle.Dave Airlie2010-06-051-0/+2
| | | | | | | | | | | This passes on r300g, the only bit I'm not really sure about is the handling of the sampler_view in st_atom_texture.c, I unreference it there if the swizzle value changes and I also have to create a new set of functions to create a new one since the u_sampler.c ones don't handle swizzle so much. adds r300g + softpipe enables, I think other drivers could pass easily enough. Signed-off-by: Dave Airlie <[email protected]>
* Merge branch 'gallium-newclear'Roland Scheidegger2010-06-032-1/+2
|\ | | | | | | | | Conflicts: src/gallium/state_trackers/python/p_context.i
| * softpipe: adapt to clear interface changesRoland Scheidegger2010-05-292-1/+2
| |
* | softpipe: add PIPE_BUFFER to assertionBrian Paul2010-05-281-1/+2
|/ | | | Fixes regression from commit f2e05acac931889e0820e1cc5d7ea810048a6b5f.
* Merge branch 'gallium-msaa'Roland Scheidegger2010-05-215-16/+18
|\ | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_gen_mipmap.c src/mesa/state_tracker/st_texture.c
| * gallium: implement set_sample_mask() in all driversRoland Scheidegger2010-05-183-0/+11
| | | | | | | | | | | | | | | | prevents segfault when state trackers try to set default mask. Other option would be to make this required only for drivers supporting multisampling, but this seems more clean. Only dummy implementations (for normal drivers) provided (no driver supports multisampling yet neither).
| * softpipe: adapt to interface changesRoland Scheidegger2010-05-172-16/+7
| |
* | Merge branch 'gallium-front-ccw'Keith Whitwell2010-05-212-31/+19
|\ \
| * | softpipe: restore culling codeKeith Whitwell2010-05-141-3/+21
| | |
| * | gallium: convert rasterizer state to use gl-style front/back conceptsKeith Whitwell2010-05-142-37/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use front/back instead of cw/ccw throughout. Also, use offset_point/line/fill instead of offset_cw/ccw. Brings gallium representation of this state into line with its main user, and also what turns out to be the most common hardware representation. This fixes a long-standing bias in the interface towards the architecture of the software rasterizer.
* | | softpipe: Calculate slice_stride field in get_transfer().Michal Krol2010-05-191-0/+4
| | |
* | | gallium: EXT_timer_query support.Mathias Fröhlich2010-05-172-4/+33
|/ / | | | | | | Signed-off-by: Corbin Simpson <[email protected]>
* | softpipe: Adverstise (tgsi_exec's) shader limits.José Fonseca2010-05-121-0/+31
| |
* | gallium: Make PIPE_CAP_xxx enums.José Fonseca2010-05-121-2/+2
| |
* | softpipe: fix dangling references to shaders in the TGSI executorBrian Paul2010-05-064-20/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a shader was bound to the fragment shader TGSI executor and it was then deleted and a new shader was allocated at the same address as the old shader, the new fragment shader would not get properly bound to the TGSI machine and we'd wind up using the old one. This would not have been a problem if shaders were refcounted. Now the TGSI machine is owned by the context rather than the quad pipeline's shader stage so that the softpipe_delete_fs_state() function can access it. Fixes sporadic failures of the piglit fp-long-alu test (fd.o bug 27989).
* | gallium: rename draw() to draw_elements() in vbuf codeBrian Paul2010-05-051-2/+2
| | | | | | | | | | Now we have draw_elements() and draw_arrays() to be consistent with the pipe_context drawing functions.
* | gallium: rework provoking vertex codeBrian Paul2010-05-052-115/+198
|/ | | | | | | | | | | | | | Builds on commit ddb0e18f6c5582d4d2cc59ffd16ad9c4639ed059 and fixes regressions in glean clipFlat test. We assume that Gallium drivers observe flatshade_first for all triangles and that all the assorted per-triangle calls in the 'draw' module also follow flatshade_first. Everything else builds on those rules. Gallium does not use follow flatshade_first for GL quads, quad strips and polygons; the "last" vertex is always the provoking vertex for those prims. So now there are separate QUAD_FIRST_PV and QUAD_LAST_PV macros in the draw primitive decomposition code instead of one QUAD macro.
* gallium: move surface utility functions into u_surface.cBrian Paul2010-05-031-1/+1
| | | | This is a better place than in u_rect.c
* softpipe: invalidate cache view when swizzles are different.Dave Airlie2010-05-031-1/+15
| | | | | | | | Current code only invalidated if the texture was different, however we store swizzled values in the cache, so we need to invalidate in that case also. Signed-off-by: Dave Airlie <[email protected]>
* softpipe: Fix alpha blending for formats without alpha channel.José Fonseca2010-05-031-60/+108
| | | | | Don't use the dst alpha channel from the tile cache when it does not exist in the true format.
* softpipe & llvmpipe: Enable SM3 capJakob Bornecrantz2010-04-291-0/+2
|
* softpipe: consolidate tex image offset codeBrian Paul2010-04-281-29/+32
|
* softpipe: use consistant names for local varsBrian Paul2010-04-281-36/+33
|
* softpipe: Make softpipe transfers in-order.José Fonseca2010-04-255-4/+109
| | | | | | | | | | | Transfer, being now a context operation, should happen in order with all other contexts operations. If there is rendering pending on the resource then the driver must flush and potentially wait itself internally. Instead of avoiding using transfers internally (as done in llvmpipe) I've opted to simply pass PIPE_TRANSFER_UNSYNCHRONIZED in all internal transfers, to avoid infinite recursion.
* softpipe: Hardcode TILE_CLEAR_OPTIMIZATION to 1.José Fonseca2010-04-253-20/+1
| | | | | The un-optimized path relies on surface_fill which can only handle formats with depth <= 32, so it is pointless to keep it around.
* softpipe: More accurate softpipe_is_format_supported().José Fonseca2010-04-251-19/+55
| | | | | Unfortunately there are some heavy limitations on supported render target formats due to the way clear values are used internally.
* softpipe: compressed formats can't be render targetsBrian Paul2010-04-231-1/+4
|
* softpipe: YUV textures should be supported.José Fonseca2010-04-231-4/+0
|
* softpipe: call draw_wide_point_sprites()Brian Paul2010-04-211-0/+2
|
* gallium: replace pipe_resource::_usage with pipe_resource::usageBrian Paul2010-04-201-1/+1
|
* Merge branch 'gallium-index-bias'José Fonseca2010-04-202-4/+16
|\
| * softpipe: Implement index bias.José Fonseca2010-04-192-4/+16
| |
* | softpipe: add option to do polygon stipple in softpipe vs. draw moduleBrian Paul2010-04-193-0/+14
| | | | | | | | For debugging purposes.
* | Merge branch '7.8'Brian Paul2010-04-193-5/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pipe_aaline.c src/gallium/drivers/llvmpipe/lp_context.c
| * | gallium/draw: use correct rasterization state for wide/AA points/linesBrian Paul2010-04-192-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When points or lines are decomposed into triangles, we need to be sure to disable polygon culling, stippling, "un-filled" modes, etc. This patch sets the rasterization state to disable those things prior to drawing points/lines with triangles, then restores the previous state afterward. The new piglit point-no-line-cull test checks this problem & solution.
| * | softpipe: Fix division by zeroArpad Borsos2010-04-141-3/+3
| | | | | | | | | | | | | | | | | | | | | This can be triggered by running the cairo tests using the gl backend and softpipe. Signed-off-by: Brian Paul <[email protected]>