summaryrefslogtreecommitdiff
path: root/src/mesa/pipe
AgeCommit message (Collapse)Author
2007-09-11Implement query object interface.Brian
This replaces the temporary occlusion counter functions we had before. Added new ctx->Driver.WaitQuery() function which should block until the result is ready. Sketch out some code for vertex transformation feedback counters.
2007-09-10vertex feedback functionsBrian
2007-09-10merge buffer_unreference(), buffer_reference()Brian
2007-09-10More work on vertex feedback / glRasterPos. Basic rasterpos works now.Brian
2007-09-06Initial work for post-transformed vertex feedback buffers.Brian
This will be used for: GL_NV_transform_feedback, or similar GL3 functionality glRasterPos GL selection/feedback modes
2007-09-06Initial work for post-transform vertex feedback buffers.Brian
This will be used for: GL_NV_transform_feedback, or GL3 equivalent. RasterPos GL select/feedback modes
2007-08-31move some protos from draw_vertex.h to draw_private.hBrian
2007-08-31Define attrib_format and interp_mode enum typedefs and use where appropriate.Brian
2007-08-30Consolidate vertex-related code in new draw_vertex.cBrian
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()
2007-08-30Remove dependency on TGSI_ATTRIB_x tokens in draw_twoside.cBrian
Added a new draw_set_twoside_attributes() function for specifying which vertex attributes are to be copied/replaced when a polygon is back-facing.
2007-08-30fix breakage from prev commitBrian
2007-08-30fix unhandled switch/case warningBrian
2007-08-30In draw_flatshade.c use vertex_info->interp_mode[] to choose attribs/colors ↵Brian
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().
2007-08-30Fix lost edge flags problem when clipping.Brian
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.
2007-08-30Sketch out per-vertex point size.Brian
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.
2007-08-29Add p_compiler.h.michal
2007-08-29Break GL dependencies.michal
2007-08-29Break GL dependencies.michal
2007-08-29Break GL dependencies.michal
2007-08-29Break GL dependencies.michal
2007-08-29Fix ffs().michal
2007-08-27Split out vertex shader/cache/fetch functionality from draw_prim.cKeith Whitwell
2007-08-24s/==/=/Brian
2007-08-24Fix fragment program color output mapping (0=depth, 1=color)Brian
2007-08-24set I915_NEW_VERTEX_FORMAT in calculate_vertex_layout(), fixes demos/texenvBrian
2007-08-24Add support for more surface types in sp_surface.cBrian
replace PIPE_FORMAT_U_L8_A8 with PIPE_FORMAT_U_A8_L8
2007-08-24Hook-up SSE2 to VS.michal
2007-08-24Indent. Remove GL dependencies. Simplify. Add rtasm instructions.michal
2007-08-24Add tgsi_sse2.michal
2007-08-24remove deleted i915_state_fragprog.cBrian
2007-08-24disable debugkeithw
2007-08-24remove dead filekeithw
2007-08-24have to check I915_HW_SAMPLER when emitting MAP state, because of ↵keithw
sampler_enable_flags.
2007-08-24sampler state tweakskeithw
2007-08-24Fix user-defined clip planes. They seem to work properly now.Brian
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.
2007-08-24re-enable compute_clipmask() callBrian
2007-08-24emit S4_VFMT_XYZ vs. S4_VFMT_XYZW as neededBrian
2007-08-24Fixup include paths after renameKeith Whitwell
2007-08-24Rename tgsi "core" directoryKeith Whitwell
2007-08-23Use vertex_info struct for softpipe - lots of clean-up.Brian
2007-08-23remove dead codeBrian
2007-08-23Vertex shader outputs are now tightly packed into the output slots.Brian
Fix softpipe vertex attribute setup. Also, update vs constants when the projection matrix changes (fixes samples/prim.c)
2007-08-23Need to copy header->edgeflags to tmp when creating new prim_header.Brian
Edge flags were random/undefined otherwise.
2007-08-23minor improvement to get_vertex() in-use flag settingBrian
2007-08-23fix an edgeflag logic error, see commentsBrian
2007-08-23fix incorrect vertex index for POLYGON drawingBrian
2007-08-23get rid of VERT_RESULT_ usageBrian
2007-08-23Checkpoint: new vertex/fragment attribute namingBrian
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...
2007-08-23TGSI_ATTRIB_ tokensBrian
2007-08-23define new TGSI_ATTRIB_ tokens for program inputs/outputs, plus translation ↵Brian
functions