Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
First step to consolidating surface/texture caching...
|
|
|
|
|
|
|
|
|
|
This fixes a DRM BO failure upon swapbuffers caused by the color buffer
still being mapped.
This is a bit heavy handed since we don't always need to unmap buffers
when flushing. Need to pass a flag to flush() or design a new function.
|
|
|
|
Also, quite a bit of re-org of the tile caches and surface mapping/unmapping.
Leave surfaces mapped between primitives now.
|
|
|
|
|
|
|
|
|
|
Instead of using read/write_quad() functions, do framebuffer accesses via
get/put_tile(). A cache of tiles is used to avoid frequent get/put() calls.
Only implemented for color buffers right now.
|
|
|
|
|
|
|
|
Fix warnings in draw_create_vertex_shader()
|
|
|
|
|
|
|
|
|
|
function)
|
|
|
|
|
|
|
|
|