Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | draw: Add assert to check input of memcpy. | Vinson Lee | 2010-02-14 | 1 | -0/+1 |
| | |||||
* | draw: Use util_format_name(). | José Fonseca | 2010-02-14 | 1 | -1/+1 |
| | |||||
* | Merge branch 'gallium-nopointsizeminmax' | Roland Scheidegger | 2010-02-09 | 2 | -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 state | Roland Scheidegger | 2010-02-04 | 1 | -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 state | Roland Scheidegger | 2010-02-03 | 2 | -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 state | Roland Scheidegger | 2010-01-12 | 1 | -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 layer | Zack Rusin | 2010-02-08 | 2 | -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é Fonseca | 2010-02-03 | 5 | -0/+6 |
|\ \ | |||||
| * | | gallium: Move p_thread.h and p_atomic.h out of gallium interfaces. | José Fonseca | 2010-02-02 | 1 | -0/+1 |
| | | | | | | | | | | | | Into os/os_thread.h and util/u_atomic.h respectively. | ||||
| * | | gallium: Make pipe_atomic a regular int32_t. | José Fonseca | 2010-02-02 | 1 | -0/+1 |
| | | | |||||
| * | | gallium: pipe/p_inlines.h -> util/u_inlines.h | José Fonseca | 2010-02-02 | 2 | -0/+2 |
| | | | |||||
| * | | draw: Add missing includes. | José Fonseca | 2010-02-01 | 1 | -0/+2 |
| | | | |||||
* | | | draw: remove old hard-coded shader length limits | Brian Paul | 2010-02-02 | 3 | -12/+20 |
| | | | |||||
* | | | draw: re-implement free_bit() with ffs() | Brian Paul | 2010-02-02 | 2 | -12/+2 |
| | | | |||||
* | | | draw: comments and var renaming | Brian Paul | 2010-02-02 | 1 | -10/+13 |
| | | | |||||
* | | | draw: add const qualifiers, fix return types | Brian Paul | 2010-02-02 | 2 | -4/+6 |
| | | | |||||
* | | | draw: new, updated comments | Brian Paul | 2010-02-02 | 1 | -4/+20 |
|/ / | | | | | | | Try to avoid future confusion between different, but similar functions. | ||||
* | | gallium: Rename PIPE_MAX_CONSTANT to PIPE_MAX_CONSTANT_BUFFERS. | Michal Krol | 2010-01-28 | 12 | -19/+19 |
| | | |||||
* | | gallium: Enable multiple constant buffers for vertex and geometry shaders. | Michal Krol | 2010-01-28 | 16 | -68/+106 |
| | | |||||
* | | gallium: Implement 2D constant buffers for fragment shader in softpipe. | Michal Krol | 2010-01-28 | 2 | -2/+2 |
| | | |||||
* | | gallium/draw: Remove unnecessary headers. | Vinson Lee | 2010-01-27 | 2 | -3/+0 |
| | | |||||
* | | Merge branch 'mesa_7_7_branch' | Brian Paul | 2010-01-22 | 7 | -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 elements | Brian Paul | 2010-01-22 | 1 | -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 fixes | Brian Paul | 2010-01-22 | 1 | -8/+30 |
| | | | |||||
| * | | draw: Remove unnecessary headers. | Vinson Lee | 2010-01-21 | 7 | -9/+0 |
| | | | |||||
* | | | gallium/draw: fix-up comments, whitespace | Brian Paul | 2010-01-22 | 1 | -6/+5 |
| | | | |||||
* | | | gallium/draw: replace int with boolean | Brian Paul | 2010-01-22 | 1 | -8/+8 |
| | | | |||||
* | | | gallium: Fix uninitialized instance divisor and index. | Chia-I Wu | 2010-01-16 | 1 | -1/+1 |
| | | | |||||
* | | | draw: Fix memory leak in gs code | Jakob Bornecrantz | 2010-01-16 | 3 | -0/+11 |
| | | | |||||
* | | | draw: Add missing header include. | Michal Krol | 2010-01-15 | 1 | -1/+1 |
| | | | |||||
* | | | draw: Add GALLIUM_DUMP_VS environment variable. | Luca Barbieri | 2010-01-15 | 2 | -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 Krol | 2010-01-14 | 11 | -23/+106 |
|\ \ \ | | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_draw_arrays.c | ||||
| * | | | gallium: Handle InstanceID as a true 32-bit uint. | Michal Krol | 2010-01-05 | 1 | -4/+9 |
| | | | | |||||
| * | | | Merge branch 'master' into instanced-arrays | Michal Krol | 2010-01-05 | 20 | -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 Krol | 2009-12-30 | 7 | -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 Krol | 2009-12-30 | 1 | -26/+18 |
| | | | | |||||
| * | | | Implement instanced indexed draw. | Michal Krol | 2009-12-30 | 3 | -0/+3 |
| | | | | |||||
| * | | | Implement draw_arrays_instanced() in softpipe. | Michal Krol | 2009-12-29 | 9 | -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 stages | Brian Paul | 2010-01-13 | 1 | -9/+9 |
| | | | | |||||
* | | | | gallium/draw: whitespace and comments | Brian Paul | 2010-01-13 | 1 | -7/+9 |
| | | | | |||||
* | | | | gallium/draw: remove always-true conditional | Brian Paul | 2010-01-13 | 1 | -3/+1 |
| | | | | |||||
* | | | | gallium: Simplify PIPE_ALIGN_VAR. | José Fonseca | 2010-01-12 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | gcc allows pre-fix variable attributes. Suggested by Ian Romanick. | ||||
* | | | | gallium: Generalize the alignment macros to other compilers and any alignment. | José Fonseca | 2010-01-12 | 1 | -3/+3 |
| |/ / |/| | | |||||
* | | | gallium: Generate a single library for auxiliaries with Make too. | José Fonseca | 2010-01-01 | 1 | -47/+0 |
| | | | |||||
* | | | scons: Aggregate all tiny libraries in a single library. | José Fonseca | 2010-01-01 | 1 | -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_VERTICES | Zack Rusin | 2009-12-25 | 1 | -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 shaders | Zack Rusin | 2009-12-25 | 1 | -5/+5 |
| | | | |||||
* | | | draw/tgsi: fix geometry shader input/output swizzling | Zack Rusin | 2009-12-25 | 1 | -0/+1 |
| | | | |||||
* | | | gallium: add geometry shader support to gallium | Zack Rusin | 2009-12-25 | 20 | -63/+615 |
|/ / | |||||
* | | Merge branch 'gallium-edgeflags' | Roland Scheidegger | 2009-12-22 | 10 | -66/+71 |
|\ \ | | | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_draw.c |