Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge buffer_unreference(), buffer_reference() | Brian | 2007-09-10 | 4 | -11/+11 |
| | |||||
* | More work on vertex feedback / glRasterPos. Basic rasterpos works now. | Brian | 2007-09-10 | 10 | -7/+69 |
| | |||||
* | Initial work for post-transformed vertex feedback buffers. | Brian | 2007-09-06 | 6 | -32/+92 |
| | | | | | | | 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 | 7 | -38/+51 |
| | |||||
* | Consolidate vertex-related code in new draw_vertex.c | Brian | 2007-08-30 | 7 | -207/+214 |
| | | | | | | | 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 | 6 | -26/+95 |
| | | | | | 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 |
| | |||||
* | fix unhandled switch/case warning | Brian | 2007-08-30 | 1 | -0/+4 |
| | |||||
* | In draw_flatshade.c use vertex_info->interp_mode[] to choose attribs/colors ↵ | Brian | 2007-08-30 | 8 | -57/+56 |
| | | | | | | | 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 | 3 | -4/+17 |
| | | | | | | | 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. | ||||
* | Add p_compiler.h. | michal | 2007-08-29 | 1 | -0/+1 |
| | |||||
* | Break GL dependencies. | michal | 2007-08-29 | 1 | -1/+1 |
| | |||||
* | Break GL dependencies. | michal | 2007-08-29 | 1 | -2/+3 |
| | |||||
* | Break GL dependencies. | michal | 2007-08-29 | 2 | -32/+32 |
| | |||||
* | Break GL dependencies. | michal | 2007-08-29 | 1 | -105/+105 |
| | |||||
* | Fix ffs(). | michal | 2007-08-29 | 1 | -2/+7 |
| | |||||
* | Split out vertex shader/cache/fetch functionality from draw_prim.c | Keith Whitwell | 2007-08-27 | 6 | -410/+510 |
| | |||||
* | s/==/=/ | Brian | 2007-08-24 | 1 | -1/+1 |
| | |||||
* | Fix fragment program color output mapping (0=depth, 1=color) | Brian | 2007-08-24 | 3 | -7/+7 |
| | |||||
* | set I915_NEW_VERTEX_FORMAT in calculate_vertex_layout(), fixes demos/texenv | Brian | 2007-08-24 | 1 | -0/+6 |
| | |||||
* | Add support for more surface types in sp_surface.c | Brian | 2007-08-24 | 3 | -2/+366 |
| | | | | replace PIPE_FORMAT_U_L8_A8 with PIPE_FORMAT_U_A8_L8 | ||||
* | Hook-up SSE2 to VS. | michal | 2007-08-24 | 5 | -38/+34 |
| | |||||
* | Indent. Remove GL dependencies. Simplify. Add rtasm instructions. | michal | 2007-08-24 | 1 | -1351/+1339 |
| | |||||
* | Add tgsi_sse2. | michal | 2007-08-24 | 3 | -0/+1752 |
| | |||||
* | remove deleted i915_state_fragprog.c | Brian | 2007-08-24 | 1 | -1/+0 |
| | |||||
* | disable debug | keithw | 2007-08-24 | 1 | -1/+1 |
| | |||||
* | remove dead file | keithw | 2007-08-24 | 2 | -66/+0 |
| | |||||
* | have to check I915_HW_SAMPLER when emitting MAP state, because of ↵ | keithw | 2007-08-24 | 1 | -1/+7 |
| | | | | sampler_enable_flags. | ||||
* | sampler state tweaks | keithw | 2007-08-24 | 2 | -6/+3 |
| | |||||
* | 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 |
| | |||||
* | emit S4_VFMT_XYZ vs. S4_VFMT_XYZW as needed | Brian | 2007-08-24 | 1 | -6/+13 |
| | |||||
* | Fixup include paths after rename | Keith Whitwell | 2007-08-24 | 10 | -11/+11 |
| | |||||
* | Rename tgsi "core" directory | Keith Whitwell | 2007-08-24 | 14 | -0/+0 |
| | |||||
* | Use vertex_info struct for softpipe - lots of clean-up. | Brian | 2007-08-23 | 3 | -62/+51 |
| | |||||
* | 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 | 3 | -52/+57 |
| | | | | | 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 | 16 | -283/+222 |
| | | | | | | | 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... | ||||
* | TGSI_ATTRIB_ tokens | Brian | 2007-08-23 | 1 | -0/+47 |
| | |||||
* | define new TGSI_ATTRIB_ tokens for program inputs/outputs, plus translation ↵ | Brian | 2007-08-23 | 2 | -0/+249 |
| | | | | functions | ||||
* | comment about code duplication | Brian | 2007-08-23 | 1 | -0/+1 |
| | |||||
* | clean-up comments | Brian | 2007-08-23 | 2 | -14/+8 |
| |