summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv20/nv20_state_emit.c
AgeCommit message (Collapse)Author
2009-10-31nouveau: Support X8R8G8B8 textures on nv30, nv40 and RTs on nv10-nv40.Younes Manton
2009-02-25nouveau: nv04-nv40 texture transfer.Younes Manton
2009-02-02gallium: remove pipe_buffer from surfacesZack Rusin
this change disassociates, at least from the driver perspective, the surface from buffer. surfaces are technically now views on the textures so make it so by hiding the buffer in the internals of textures.
2009-01-31nv20: send buffer handles on hw state emitPekka Paalanen
Color and Z buffer offsets were emitted here, now also the buffer handles are emitted so they target the correct memory. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-01-31nv20: Z-mapping parametersPekka Paalanen
Based on my renouveau dump, adjust initial hw state related to Z-mapping, and add one unknown depth reg into depth/stencil/alpha emission. Now trivial/tri-z on nv20 looks identical to swrast rendered one. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-01-26nv20: rewrite vertex layoutPekka Paalanen
NV20 seems to be very different to NV10. In vertex array, pos is first, not last. There are maximum 16 attributes and only few are currently known. This makes trivial/tri work on NV20. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-12-07nouveau: make nv20 use NV{20,25}TCL objectsPekka Paalanen
Up till now, nv20 driver has been using NV10TCL, and being really an nv10 driver. That has changed. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-11-30Nouveau: nv20 build fix: forgotten includePekka Paalanen
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-11-30Nouveau: properly redo nv20_vertex_layout.Pekka Paalanen
This is still for NV10 hardware. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-11-09Nouveau: fix nv20_vertex_layout()Pekka Paalanen
The function should update nv20->vertex_info, and not just a local struct that's thrown away immediately. Fixes a SIGFPE due to vbuf->vertex_size = 0 in vbuf_alloc_vertices(). Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-11-08Nouveau: name replace for nv20.Pekka Paalanen
No functional changes, only changed function, struct, macro etc. names. nv10 -> nv20 nv30 -> nv20 celsius -> kelvin Did not touch fifo command macros. Don't try to build nv20_vertprog.c for now. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-11-08Nouveau: Rename nv20/ files as nv20.Pekka Paalanen
Signed-off-by: Pekka Paalanen <pq@iki.fi>