Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
|
|
|
|
|