summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe
Commit message (Collapse)AuthorAgeFilesLines
* merge buffer_unreference(), buffer_reference()Brian2007-09-104-11/+11
|
* More work on vertex feedback / glRasterPos. Basic rasterpos works now.Brian2007-09-1010-7/+69
|
* Initial work for post-transformed vertex feedback buffers.Brian2007-09-066-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.Brian2007-09-061-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.hBrian2007-08-312-17/+16
|
* Define attrib_format and interp_mode enum typedefs and use where appropriate.Brian2007-08-317-38/+51
|
* Consolidate vertex-related code in new draw_vertex.cBrian2007-08-307-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.cBrian2007-08-306-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 commitBrian2007-08-301-1/+1
|
* fix unhandled switch/case warningBrian2007-08-301-0/+4
|
* In draw_flatshade.c use vertex_info->interp_mode[] to choose attribs/colors ↵Brian2007-08-308-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.Brian2007-08-302-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.Brian2007-08-303-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.michal2007-08-291-0/+1
|
* Break GL dependencies.michal2007-08-291-1/+1
|
* Break GL dependencies.michal2007-08-291-2/+3
|
* Break GL dependencies.michal2007-08-292-32/+32
|
* Break GL dependencies.michal2007-08-291-105/+105
|
* Fix ffs().michal2007-08-291-2/+7
|
* Split out vertex shader/cache/fetch functionality from draw_prim.cKeith Whitwell2007-08-276-410/+510
|
* s/==/=/Brian2007-08-241-1/+1
|
* Fix fragment program color output mapping (0=depth, 1=color)Brian2007-08-243-7/+7
|
* set I915_NEW_VERTEX_FORMAT in calculate_vertex_layout(), fixes demos/texenvBrian2007-08-241-0/+6
|
* Add support for more surface types in sp_surface.cBrian2007-08-243-2/+366
| | | | replace PIPE_FORMAT_U_L8_A8 with PIPE_FORMAT_U_A8_L8
* Hook-up SSE2 to VS.michal2007-08-245-38/+34
|
* Indent. Remove GL dependencies. Simplify. Add rtasm instructions.michal2007-08-241-1351/+1339
|
* Add tgsi_sse2.michal2007-08-243-0/+1752
|
* remove deleted i915_state_fragprog.cBrian2007-08-241-1/+0
|
* disable debugkeithw2007-08-241-1/+1
|
* remove dead filekeithw2007-08-242-66/+0
|
* have to check I915_HW_SAMPLER when emitting MAP state, because of ↵keithw2007-08-241-1/+7
| | | | sampler_enable_flags.
* sampler state tweakskeithw2007-08-242-6/+3
|
* Fix user-defined clip planes. They seem to work properly now.Brian2007-08-245-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() callBrian2007-08-241-1/+1
|
* emit S4_VFMT_XYZ vs. S4_VFMT_XYZW as neededBrian2007-08-241-6/+13
|
* Fixup include paths after renameKeith Whitwell2007-08-2410-11/+11
|
* Rename tgsi "core" directoryKeith Whitwell2007-08-2414-0/+0
|
* Use vertex_info struct for softpipe - lots of clean-up.Brian2007-08-233-62/+51
|
* remove dead codeBrian2007-08-231-38/+10
|
* Vertex shader outputs are now tightly packed into the output slots.Brian2007-08-233-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.Brian2007-08-233-0/+3
| | | | Edge flags were random/undefined otherwise.
* minor improvement to get_vertex() in-use flag settingBrian2007-08-231-4/+2
|
* fix an edgeflag logic error, see commentsBrian2007-08-231-0/+5
|
* fix incorrect vertex index for POLYGON drawingBrian2007-08-231-1/+1
|
* get rid of VERT_RESULT_ usageBrian2007-08-231-8/+2
|
* Checkpoint: new vertex/fragment attribute namingBrian2007-08-2316-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_ tokensBrian2007-08-231-0/+47
|
* define new TGSI_ATTRIB_ tokens for program inputs/outputs, plus translation ↵Brian2007-08-232-0/+249
| | | | functions
* comment about code duplicationBrian2007-08-231-0/+1
|
* clean-up commentsBrian2007-08-232-14/+8
|