aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw
Commit message (Collapse)AuthorAgeFilesLines
* draw: Remove dead code.Vinson Lee2010-02-211-7/+1
|
* draw: Add assert to check input of memcpy.Vinson Lee2010-02-141-0/+1
|
* draw: Use util_format_name().José Fonseca2010-02-141-1/+1
|
* Merge branch 'gallium-nopointsizeminmax'Roland Scheidegger2010-02-092-21/+13
|\ | | | | | | | | | | | | Conflicts: src/gallium/drivers/nv10/nv10_state.c src/gallium/drivers/nv20/nv20_state.c src/gallium/drivers/nv50/nv50_program.c
| * gallium: add point_quad_rasterization bit to rasterizer stateRoland Scheidegger2010-02-041-0/+1
| | | | | | | | | | This determines if points should be rasterized according to GL point rules or as normal quads (GL point sprites / d3d points / d3d point sprites).
| * gallium: clean up point sprite rasterizer stateRoland Scheidegger2010-02-032-10/+12
| | | | | | | | | | | | | | | | | | | | Don't need sprite coord origin per coord. Also, don't need separate sprite enable bit - if all coords have it diabled, then there are no point sprites (technically, there's a distinction in pre-GL3, but it only differs in having more leniency in clamping to max size, something the state tracker would need to handle and the hardware won't bother anyway). Also, use packed field for the per-coord enables. All in all, should save 3 dwords in rasterizer state (from 10 down to 7).
| * gallium: remove point_size_min and point_size_max from rasterizer stateRoland Scheidegger2010-01-121-11/+0
| | | | | | | | | | | | | | The state tracker is responsible for clamping to any graphics API enforced size min/max limits for both the static point_size setting as well as per vertex point size (in the vertex shader). Note that mesa state tracker didn't actually use these values.
* | llvmpipe: export the tgsi translation code to a common layerZack Rusin2010-02-082-37/+0
| | | | | | | | | | | | | | the llvmpipe tgsi translation is a lot more complete than what was in gallivm so replacing the latter with the former. this is needed since the draw llvm paths will use the same code. effectively the proven llvmpipe code becomes gallivm.
* | Merge branch 'gallium-embedded'José Fonseca2010-02-035-0/+6
|\ \
| * | gallium: Move p_thread.h and p_atomic.h out of gallium interfaces.José Fonseca2010-02-021-0/+1
| | | | | | | | | | | | Into os/os_thread.h and util/u_atomic.h respectively.
| * | gallium: Make pipe_atomic a regular int32_t.José Fonseca2010-02-021-0/+1
| | |
| * | gallium: pipe/p_inlines.h -> util/u_inlines.hJosé Fonseca2010-02-022-0/+2
| | |
| * | draw: Add missing includes.José Fonseca2010-02-011-0/+2
| | |
* | | draw: remove old hard-coded shader length limitsBrian Paul2010-02-023-12/+20
| | |
* | | draw: re-implement free_bit() with ffs()Brian Paul2010-02-022-12/+2
| | |
* | | draw: comments and var renamingBrian Paul2010-02-021-10/+13
| | |
* | | draw: add const qualifiers, fix return typesBrian Paul2010-02-022-4/+6
| | |
* | | draw: new, updated commentsBrian Paul2010-02-021-4/+20
|/ / | | | | | | Try to avoid future confusion between different, but similar functions.
* | gallium: Rename PIPE_MAX_CONSTANT to PIPE_MAX_CONSTANT_BUFFERS.Michal Krol2010-01-2812-19/+19
| |
* | gallium: Enable multiple constant buffers for vertex and geometry shaders.Michal Krol2010-01-2816-68/+106
| |
* | gallium: Implement 2D constant buffers for fragment shader in softpipe.Michal Krol2010-01-282-2/+2
| |
* | gallium/draw: Remove unnecessary headers.Vinson Lee2010-01-272-3/+0
| |
* | Merge branch 'mesa_7_7_branch'Brian Paul2010-01-227-17/+33
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c
| * | gallium/draw: apply DRAW_PIPE_FLAG_MASK to all vertex elementsBrian Paul2010-01-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Depending on first/last provoking vertex either the first or last element/index may have the extra DRAW_PIPE_x flags. Mask off those bits for all vertex elements to be safe (esp. for the quad case). This may be overly cautious, but it's a cheap operation. Fixes a segfault caused by large/bogus vertex indexes otherwise.
| * | gallium/draw: added comments, whitespace fixesBrian Paul2010-01-221-8/+30
| | |
| * | draw: Remove unnecessary headers.Vinson Lee2010-01-217-9/+0
| | |
* | | gallium/draw: fix-up comments, whitespaceBrian Paul2010-01-221-6/+5
| | |
* | | gallium/draw: replace int with booleanBrian Paul2010-01-221-8/+8
| | |
* | | gallium: Fix uninitialized instance divisor and index.Chia-I Wu2010-01-161-1/+1
| | |
* | | draw: Fix memory leak in gs codeJakob Bornecrantz2010-01-163-0/+11
| | |
* | | draw: Add missing header include.Michal Krol2010-01-151-1/+1
| | |
* | | draw: Add GALLIUM_DUMP_VS environment variable.Luca Barbieri2010-01-152-0/+8
| | | | | | | | | | | | | | | Add GALLIUM_DUMP_VS to dump the vertex shader to the console like GALLIUM_DUMP_FS in softpipe.
* | | Merge branch 'instanced-arrays'Michal Krol2010-01-1411-23/+106
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_draw_arrays.c
| * | | gallium: Handle InstanceID as a true 32-bit uint.Michal Krol2010-01-051-4/+9
| | | |
| * | | Merge branch 'master' into instanced-arraysMichal Krol2010-01-0520-154/+612
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/tgsi/tgsi_dump.c src/gallium/include/pipe/p_shader_tokens.h
| * | | Add lame support for instanceID to draw module.Michal Krol2009-12-307-13/+46
| | | | | | | | | | | | | | | | It's all screaming for integer support -- fake it with float for now.
| * | | draw: Implement draw_arrays() in terms of draw_arrays_instanced().Michal Krol2009-12-301-26/+18
| | | |
| * | | Implement instanced indexed draw.Michal Krol2009-12-303-0/+3
| | | |
| * | | Implement draw_arrays_instanced() in softpipe.Michal Krol2009-12-299-1/+51
| | | | | | | | | | | | | | | | | | | | Modify the translate module to respect instance divisors and accept instance id as a parameter to calculate input vertex offset.
* | | | gallium/draw: s/clipper/clip_stage/ to be consistant with other stagesBrian Paul2010-01-131-9/+9
| | | |
* | | | gallium/draw: whitespace and commentsBrian Paul2010-01-131-7/+9
| | | |
* | | | gallium/draw: remove always-true conditionalBrian Paul2010-01-131-3/+1
| | | |
* | | | gallium: Simplify PIPE_ALIGN_VAR.José Fonseca2010-01-121-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | gcc allows pre-fix variable attributes. Suggested by Ian Romanick.
* | | | gallium: Generalize the alignment macros to other compilers and any alignment.José Fonseca2010-01-121-3/+3
| |/ / |/| |
* | | gallium: Generate a single library for auxiliaries with Make too.José Fonseca2010-01-011-47/+0
| | |
* | | scons: Aggregate all tiny libraries in a single library.José Fonseca2010-01-011-47/+0
| | | | | | | | | | | | | | | Makes integration of gallium into out of tree components much easier. No pratical change for components in this tree,
* | | gallium: remove TGSI_SEMANTIC_VERTICESZack Rusin2009-12-251-7/+6
| | | | | | | | | | | | | | | | | | it's a leftover from an early version of geometry shading support. geometry shaders now encode the primitive size in the PROPERTY token and don't need special input with their size.
* | | draw: disable some debugging output coming from the geometry shadersZack Rusin2009-12-251-5/+5
| | |
* | | draw/tgsi: fix geometry shader input/output swizzlingZack Rusin2009-12-251-0/+1
| | |
* | | gallium: add geometry shader support to galliumZack Rusin2009-12-2520-63/+615
|/ /