| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
draw_alloc_tmps->draw_alloc_temp_verts
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is basically half of Keith's draw/flush patch.
The stage->point/line/tri() functions are now self-validating, the validator
functions are installed by the flush() function.
There were excessive calls to validate_pipeline(), however. This was caused
by draw_prim_queue_flush() keeping a local 'first' variable that always pointed
to the validate functions. Replaced 'first' with 'draw->pipeline.first'.
Performance in gears is up just slightly with this patch.
|
| |
|
|
|
|
|
|
|
|
| |
Remove all dependencies on vertex_info, except for draw_vbuf.
Drawing stages now strictly operate on post-transformed vertices and don't
know anything about hw vertices.
Use vertex program output info for two-side/flat/etc stages.
Temporarily disable vbuf module in softpipe driver.
|
| |
|
|
|
|
|
|
| |
No longer store the vertex header and clip pos info in the draw module's
vertex_info. The vertex_info just describes the data[] elements.
This simplifies the code in several places.
|
|
|
|
|
| |
typedefs are rather evil, remove them and use the enum
keyword explicitely.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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().
|
|
|
|
| |
Edge flags were random/undefined otherwise.
|
|
|
|
|
|
|
| |
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...
|
|
|
|
|
| |
Basic i915 2D texturing seems to work now.
The vertex format is determined from the current fragment shader.
|
|
|
|
| |
To build with mesa, need -DMESA in makefile/config file.
|
|
|
|
|
| |
Also added draw_stage::reset_line_stipple(). There may be a better way
of doing that though.
|
| |
|
| |
|
|
|