Age | Commit message (Collapse) | Author |
|
|
|
|
|
This sub-struct collects the incoming user-provided data/pointers in one place.
Ex: draw->mapped_vbuffer becomes draw->user.vbuffer, etc.
|
|
|
|
|
|
was still room in the prim queue.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fragment shaders through llvm.
|
|
Use FREE, MALLOC, CALLOC, GETENV wrappers.
Silence compiler warnings.
Add proper copyrights.
|
|
typedefs are rather evil, remove them and use the enum
keyword explicitely.
|
|
Move the CPU vertex shader execution code to the draw
module, remove traces of LLVM from the state tracker,
abstract execution engine for the purposes of the draw module.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
glorious
|
|
|
|
running shaders in llvm.
|
|
|
|
|
|
|
|
Need to set the slot's bit in draw->vcache.referenced even when there was a
cache hit since flushing the primitive buffer will have cleared the bitfield
but not the cache's vertex indexes.
Fixes a bug found when drawing long triangle fans but could be hit by other
prim types as well.
An alternate fix would be to call draw_vertex_cache_invalidate() from
draw_vertex_cache_unreference().
|
|
|
|
Also, assert that index is not too large before indexing array.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fix warnings in draw_create_vertex_shader()
|
|
|
|
function)
|
|
|
|
|
|
|