Age | Commit message (Collapse) | Author |
|
|
|
Avoid the need to emit all constant declarations in order. Makes
referring to a specific constant in the constant buffer much easier.
|
|
Fix ureg_DECL_vs_input to reflect this and fix up all callers.
|
|
plus it avoids the "ctx->ctx->" syntax
|
|
|
|
|
|
|
|
|
|
|
|
plus fix some small issues with the shaders
|
|
|
|
Also make sure not to leak malloced memory when switching pixmaps to texture
based.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Shouldn't be necessary with older versions either.
|
|
Reorganize to handle both interfaces with common code.
|
|
Always use / assume a combined depth/stencil buffer.
Also update drawable formats from surfaces returned by the driver.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This should also handle the case where the pixmap is backed by a (different)
texture before and afterwards.
|
|
Just let the upper layers handle it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Most use cases just got the buffer from the texture
and then called into one of the get_handle functions.
Also with this patch it would be easier to move to a
generic function for getting handles from textures
and textures from handles, that is exposed via the screen.
|
|
|