Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-08-31 | Define attrib_format and interp_mode enum typedefs and use where appropriate. | Brian | |
2007-08-30 | Consolidate vertex-related code in new draw_vertex.c | Brian | |
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-30 | Remove dependency on TGSI_ATTRIB_x tokens in draw_twoside.c | Brian | |
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-30 | fix breakage from prev commit | Brian | |
2007-08-30 | fix unhandled switch/case warning | Brian | |
2007-08-30 | In 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-30 | Fix 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-30 | Sketch 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-29 | Add p_compiler.h. | michal | |
2007-08-29 | Break GL dependencies. | michal | |
2007-08-29 | Break GL dependencies. | michal | |
2007-08-29 | Break GL dependencies. | michal | |
2007-08-29 | Break GL dependencies. | michal | |
2007-08-29 | Fix ffs(). | michal | |
2007-08-27 | Split out vertex shader/cache/fetch functionality from draw_prim.c | Keith Whitwell | |
2007-08-24 | s/==/=/ | Brian | |
2007-08-24 | Fix fragment program color output mapping (0=depth, 1=color) | Brian | |
2007-08-24 | set I915_NEW_VERTEX_FORMAT in calculate_vertex_layout(), fixes demos/texenv | Brian | |
2007-08-24 | Add support for more surface types in sp_surface.c | Brian | |
replace PIPE_FORMAT_U_L8_A8 with PIPE_FORMAT_U_A8_L8 | |||
2007-08-24 | Hook-up SSE2 to VS. | michal | |
2007-08-24 | Indent. Remove GL dependencies. Simplify. Add rtasm instructions. | michal | |
2007-08-24 | Add tgsi_sse2. | michal | |
2007-08-24 | remove deleted i915_state_fragprog.c | Brian | |
2007-08-24 | disable debug | keithw | |
2007-08-24 | remove dead file | keithw | |
2007-08-24 | have to check I915_HW_SAMPLER when emitting MAP state, because of ↵ | keithw | |
sampler_enable_flags. | |||
2007-08-24 | sampler state tweaks | keithw | |
2007-08-24 | Fix 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-24 | re-enable compute_clipmask() call | Brian | |
2007-08-24 | emit S4_VFMT_XYZ vs. S4_VFMT_XYZW as needed | Brian | |
2007-08-24 | Fixup include paths after rename | Keith Whitwell | |
2007-08-24 | Rename tgsi "core" directory | Keith Whitwell | |
2007-08-23 | Use vertex_info struct for softpipe - lots of clean-up. | Brian | |
2007-08-23 | remove dead code | Brian | |
2007-08-23 | Vertex 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-23 | Need to copy header->edgeflags to tmp when creating new prim_header. | Brian | |
Edge flags were random/undefined otherwise. | |||
2007-08-23 | minor improvement to get_vertex() in-use flag setting | Brian | |
2007-08-23 | fix an edgeflag logic error, see comments | Brian | |
2007-08-23 | fix incorrect vertex index for POLYGON drawing | Brian | |
2007-08-23 | get rid of VERT_RESULT_ usage | Brian | |
2007-08-23 | Checkpoint: new vertex/fragment attribute naming | Brian | |
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-23 | TGSI_ATTRIB_ tokens | Brian | |
2007-08-23 | define new TGSI_ATTRIB_ tokens for program inputs/outputs, plus translation ↵ | Brian | |
functions | |||
2007-08-23 | comment about code duplication | Brian | |
2007-08-23 | clean-up comments | Brian | |
2007-08-23 | remove dead/debug code, misc clean-up | Brian | |
2007-08-23 | Checkpoint commit: i915 texture works, use new vertex_info struct | Brian | |
Basic i915 2D texturing seems to work now. The vertex format is determined from the current fragment shader. | |||
2007-08-23 | Define a re-usable vertex_info structure to describe vertex layouts. | Brian | |
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 | |||
2007-08-23 | For the time being, interpolate Z in shade_quad() rather in the shader. | Brian | |
This was causing trouble for the i915 driver. | |||
2007-08-22 | Checkpoint: texture image and sampler state handling, plus better vertex ↵ | Brian | |
format code. Texture image/sampler state code should be working, but is disabled for now. Need to fix outstanding issues with vertex formats and texcoords first... |