Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More work on vertex feedback / glRasterPos. Basic rasterpos works now. | Brian | 2007-09-10 | 3 | -1/+15 |
| | |||||
* | Initial work for post-transformed vertex feedback buffers. | Brian | 2007-09-06 | 4 | -30/+61 |
| | | | | | | | This will be used for: GL_NV_transform_feedback, or similar GL3 functionality glRasterPos GL selection/feedback modes | ||||
* | Initial work for post-transform vertex feedback buffers. | Brian | 2007-09-06 | 1 | -0/+247 |
| | | | | | | | This will be used for: GL_NV_transform_feedback, or GL3 equivalent. RasterPos GL select/feedback modes | ||||
* | move some protos from draw_vertex.h to draw_private.h | Brian | 2007-08-31 | 2 | -17/+16 |
| | |||||
* | Define attrib_format and interp_mode enum typedefs and use where appropriate. | Brian | 2007-08-31 | 4 | -31/+44 |
| | |||||
* | Consolidate vertex-related code in new draw_vertex.c | Brian | 2007-08-30 | 5 | -115/+189 |
| | | | | | | | A few functions which were basically duplicated between softpipe and the i915 driver are now re-used: draw_emit_vertex_attr() draw_compute_vertex_size() | ||||
* | Remove dependency on TGSI_ATTRIB_x tokens in draw_twoside.c | Brian | 2007-08-30 | 4 | -14/+60 |
| | | | | | Added a new draw_set_twoside_attributes() function for specifying which vertex attributes are to be copied/replaced when a polygon is back-facing. | ||||
* | fix breakage from prev commit | Brian | 2007-08-30 | 1 | -1/+1 |
| | |||||
* | In draw_flatshade.c use vertex_info->interp_mode[] to choose attribs/colors ↵ | Brian | 2007-08-30 | 4 | -42/+38 |
| | | | | | | | to cpy. One less dependency on the TGSI_ATTRIB_x flags. This requires setting the vertex_info->interp_mode[] values in the i915 driver and passing them to draw_set_vertex_attributes(). | ||||
* | Fix lost edge flags problem when clipping. | Brian | 2007-08-30 | 2 | -2/+16 |
| | | | | | | In emit_poly() we need to compute header.edgeflags from the vertex edge flags. Also need to set header.det so later stages can determine front/back orientation. | ||||
* | Sketch out per-vertex point size. | Brian | 2007-08-30 | 1 | -1/+1 |
| | | | | | | | The code is all in place, but mostly disabled for now: In t_vp_build.c, write the VERT_RESULT_PSIZE register In sp_state_derived.c, need to emit vertex point size if drawing points. In setup_point() use the point size from the vertex. | ||||
* | Split out vertex shader/cache/fetch functionality from draw_prim.c | Keith Whitwell | 2007-08-27 | 6 | -410/+510 |
| | |||||
* | Hook-up SSE2 to VS. | michal | 2007-08-24 | 1 | -1/+30 |
| | |||||
* | Fix user-defined clip planes. They seem to work properly now. | Brian | 2007-08-24 | 5 | -40/+63 |
| | | | | | | The bits for the N user-defined planes are now set in the vertex_header->clipmask. See some detailed comments about this in the clip_line() function. CLIP_USER_BIT no longer exists. | ||||
* | re-enable compute_clipmask() call | Brian | 2007-08-24 | 1 | -1/+1 |
| | |||||
* | Fixup include paths after rename | Keith Whitwell | 2007-08-24 | 2 | -2/+2 |
| | |||||
* | remove dead code | Brian | 2007-08-23 | 1 | -38/+10 |
| | |||||
* | Vertex shader outputs are now tightly packed into the output slots. | Brian | 2007-08-23 | 1 | -20/+37 |
| | | | | | Fix softpipe vertex attribute setup. Also, update vs constants when the projection matrix changes (fixes samples/prim.c) | ||||
* | Need to copy header->edgeflags to tmp when creating new prim_header. | Brian | 2007-08-23 | 3 | -0/+3 |
| | | | | Edge flags were random/undefined otherwise. | ||||
* | minor improvement to get_vertex() in-use flag setting | Brian | 2007-08-23 | 1 | -4/+2 |
| | |||||
* | fix an edgeflag logic error, see comments | Brian | 2007-08-23 | 1 | -0/+5 |
| | |||||
* | fix incorrect vertex index for POLYGON drawing | Brian | 2007-08-23 | 1 | -1/+1 |
| | |||||
* | get rid of VERT_RESULT_ usage | Brian | 2007-08-23 | 1 | -8/+2 |
| | |||||
* | Checkpoint: new vertex/fragment attribute naming | Brian | 2007-08-23 | 6 | -95/+20 |
| | | | | | | | Replace VF_ATTRIB_x with TGSI_ATTRIB_x When converting mesa programs to TGSI programs, also convert the InputsRead and OutputsWritten to a mask of TGSI_ATTRIB_ bits. Still need to do conversion for vertex programs... | ||||
* | comment about code duplication | Brian | 2007-08-23 | 1 | -0/+1 |
| | |||||
* | Checkpoint commit: i915 texture works, use new vertex_info struct | Brian | 2007-08-23 | 6 | -58/+68 |
| | | | | | Basic i915 2D texturing seems to work now. The vertex format is determined from the current fragment shader. | ||||
* | Define a re-usable vertex_info structure to describe vertex layouts. | Brian | 2007-08-23 | 1 | -0/+141 |
| | | | | | This also includes legacy #defines for VF_ATTRIB_*, FRAG_ATTRIB_*, etc tokens. Those will go away eventually, but at least we no longer need vf/vf.h | ||||
* | more debug output | Brian | 2007-08-22 | 1 | -10/+18 |
| | |||||
* | remove old draw_vertices() | Brian | 2007-08-22 | 1 | -6/+0 |
| | |||||
* | Rework of shader constant buffers. | Brian | 2007-08-22 | 3 | -1/+12 |
| | | | | | They're now totally independent of the actual shaders. Also, implemented in terms of pipe_buffer_handles/objects. | ||||
* | Headers. | michal | 2007-08-21 | 1 | -23/+39 |
| | | | | | | Fix alignment issues. Silence compiler warnings. More debugging code. | ||||
* | Silence compiler warnings. | michal | 2007-08-21 | 2 | -2/+2 |
| | |||||
* | Move vertex transformation/shader code into draw_prim.c to avoid need for ↵ | Brian | 2007-08-20 | 3 | -272/+270 |
| | | | | vs_flush() function pointer. | ||||
* | move ALIGN16-related macros into p_compiler.h | Brian | 2007-08-20 | 1 | -10/+0 |
| | |||||
* | Update glClear and glDrawPixels code. | Brian | 2007-08-20 | 1 | -2/+3 |
| | | | | | Since they're implemented by drawing quadrilaterals (and go through vertex transformation and viewport mapping) we don't have to invert Y coords. | ||||
* | remove some of the #ifndef MESA stuff | Brian | 2007-08-20 | 3 | -13/+18 |
| | |||||
* | Obsolete | Brian | 2007-08-20 | 1 | -320/+0 |
| | |||||
* | remove dead code related to vf module | Brian | 2007-08-20 | 2 | -35/+2 |
| | |||||
* | Checkpoint: remove more of the old draw_vb() code. | Brian | 2007-08-20 | 3 | -9/+7 |
| | |||||
* | Start to remove the temporary draw_vb() and draw_vertices() code. | Brian | 2007-08-20 | 2 | -69/+4 |
| | | | | new st_draw_vertices() utility used by glClear and glDrawPixels | ||||
* | Move guts of vertex array drawing into the 'draw' module. | Brian | 2007-08-20 | 7 | -24/+455 |
| | |||||
* | fix cache overflow bug in get_vertex() | Brian | 2007-08-20 | 1 | -3/+4 |
| | |||||
* | Merge branch 'softpipe_0_1_branch' of ↵ | Brian | 2007-08-20 | 4 | -21/+4 |
|\ | | | | | | | git+ssh://[email protected]/git/mesa/mesa into softpipe_0_1_branch | ||||
| * | Fix some draw_arrays issues. | Brian | 2007-08-19 | 3 | -19/+0 |
| | | | | | | | | | | | | We weren't mapping all the needed vertex array buffers. Move array state that was temporarily in draw_context to softpipe_context. Remove a bunch of dead code. | ||||
| * | fix edgeflag bug | Brian | 2007-08-17 | 1 | -2/+4 |
| | | |||||
* | | replace memcpy() with assignment, better type safety | Brian | 2007-08-17 | 1 | -1/+1 |
| | | |||||
* | | added CLIP_x_SHIFT vals | Brian | 2007-08-17 | 1 | -0/+16 |
|/ | |||||
* | added pipe ptr to draw_context | Brian | 2007-08-17 | 1 | -0/+2 |
| | |||||
* | define CLIP_LEFT/RIGHT etc | Brian | 2007-08-17 | 2 | -3/+13 |
| | |||||
* | Silence compiler warnings. | michal | 2007-08-16 | 1 | -5/+5 |
| |