Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move guts of glRasterPos into tnl module, called via new ↵ | Brian | 2007-09-06 | 1 | -0/+508 |
| | | | | ctx->Driver.RasterPos() function. | ||||
* | 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 | 8 | -207/+215 |
| | | | | | | | 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 | 4 | -4/+31 |
| | | | | | | | 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 | 7 | -410/+513 |
| | |||||
* | add missing files | keithw | 2007-08-25 | 2 | -0/+195 |
| | |||||
* | fix frag vs vertex typo | keithw | 2007-08-25 | 1 | -2/+2 |
| | |||||
* | add names to tracked state atoms to improve debug | keithw | 2007-08-25 | 17 | -1/+24 |
| | |||||
* | checkpoint in constant tracking rework | Keith Whitwell | 2007-08-25 | 10 | -254/+134 |
| | |||||
* | remove unneeded dirty flag | keithw | 2007-08-25 | 1 | -1/+1 |
| | |||||
* | code re-org, minor improvements | Brian | 2007-08-24 | 1 | -6/+58 |
| | |||||
* | 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 |
| | |||||
* | check for USE_X86_ASM or SLANG_X86 in st_delete_program() | Brian | 2007-08-24 | 1 | -0/+2 |
| | |||||
* | 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 | 5 | -4/+378 |
| | | | | replace PIPE_FORMAT_U_L8_A8 with PIPE_FORMAT_U_A8_L8 | ||||
* | Hook-up SSE2 to VS. | michal | 2007-08-24 | 8 | -39/+65 |
| | |||||
* | Indent. Remove GL dependencies. Simplify. Add rtasm instructions. | michal | 2007-08-24 | 3 | -1351/+1400 |
| | |||||
* | Add tgsi_sse2. | michal | 2007-08-24 | 4 | -2/+1755 |
| | |||||
* | remove deleted i915_state_fragprog.c | Brian | 2007-08-24 | 1 | -1/+0 |
| | |||||
* | fix a tracking of changed lighting state | Brian | 2007-08-24 | 1 | -1/+6 |
| | |||||
* | add some warnings about bitmaps/copypixels | Brian | 2007-08-24 | 1 | -0/+2 |
| | |||||
* | 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 | 15 | -20/+20 |
| | |||||
* | Rename tgsi "core" directory | Keith Whitwell | 2007-08-24 | 14 | -0/+0 |
| | |||||
* | track more vertex-related state changes | Brian | 2007-08-23 | 1 | -1/+5 |
| | |||||
* | added GL_STENCIL_INDEX8_EXT | Brian | 2007-08-23 | 1 | -0/+3 |
| | |||||
* | fix-up stencil buffers | Brian | 2007-08-23 | 1 | -1/+7 |
| | |||||
* | check for null ptr in xm_buffer_unreference() | Brian | 2007-08-23 | 1 | -9/+11 |
| | |||||
* | 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 | 4 | -55/+62 |
| | | | | | Fix softpipe vertex attribute setup. Also, update vs constants when the projection matrix changes (fixes samples/prim.c) |