| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
This would seem to be needed but caused some regressions.
More investigation will be done.
|
|
|
|
|
|
| |
They should be working now, both textures and vertex/index/buffers.
This reverts commit efc69ca61cf8fe7d2d44d177e7737999b6a114b5.
|
|
|
|
|
|
| |
util_format_description::fetch_rgba_float
This therefore adds support to half float vertex buffers.
|
| |
|
|
|
|
|
|
| |
A8R8G8B8/B8G8R8A8/R10G10B10X2/R10G10B10X2 and other formats.
These need swizzles, and bitshifts.
|
| |
|
|
|
|
|
|
| |
Useful for fetching vertices for formats that are straight arrays.
This reverts commit aa364d091e7e2ef2296fb25f92efc79a8c88f77d.
|
| |
|
|
|
|
|
|
| |
To silence some warnings.
Super-seeded by Zack's new llvm middle end.
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
As we are rebasing to min_index + elt_bias, and the vertex buffer has no
elt_bias.
I still don't know how to exercise this code. I hope this is now right.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
buffer characteristic.
Unlike the indexBias which is specific to a draw call.
This are the semantics of both D3D and GL ARB_draw_elements_base_vertex
extension.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Untested.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
indexBias corresponds to:
- BaseVertexIndex parameter of D3D9's
IDirect3DDevice9::DrawIndexedPrimitive method
- BaseVertexLocation parameter of ID3D10Device::DrawIndexed
Although a positive indexBias can be easily be implemented in Gallium by
adding indexBias*stride to each vertex buffer base offset, a negative
indexBias cannot, as the final vertex buffer offset could be negative.
I'm not aware of this functionality being exposed to GL drivers, so for
now all hardware drivers will just assert(indexBias == 0).
See also:
- http://msdn.microsoft.com/en-us/library/bb174369.aspx (D3D9)
- http://msdn.microsoft.com/en-us/library/ff556126.aspx (D3D10 DDI)
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Commit 88be2171e7 fixed the egl demos on the stable branch, but now
they're spread out across multiple subdirectories.
Signed-off-by: Dan Nicholson <[email protected]>
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
progs/egl/Makefile
progs/egl/Makefile is gone on master with the egl demos split into
subdirectories. Will require an additional commit.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
eglplatform.h pulls in Xlib.h on X11 platforms. Likewise, the egl glx
driver and egl programs needs to link to libX11. Make sure we use the
locations the user told us about.
Signed-off-by: Dan Nicholson <[email protected]>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The Xlib demos were fixed to use $(X11_LIBS) so that configure could
detect the proper directory to link the library from, but this broke
the non-autoconf builds. Give X11_LIBS a default value to fallback on.
(cherry picked from commit e40fce13e152ecf929c899ed38a8e5f7d198c738)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The variable X_LIBS from AC_PATH_XTRA contains only the -L searchdir
parameter and not the -lX11 to link to Xlib. Use X11 prefixed build vars
for linking with Xlib to avoid the conflict.
Signed-off-by: Dan Nicholson <[email protected]>
(cherry picked from commit e725ef171b5a4d5425461f237d9ccab223806913)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This can break on systems that don't have a system X installation.
Signed-off-by: Dan Nicholson <[email protected]>
(cherry picked from commit de4ee20578a79e024b0de83c40648112f42c994e)
Conflicts:
src/gallium/winsys/xlib/Makefile
|
| | |
| | |
| | |
| | |
| | |
| | | |
Signed-off-by: Jeff Smith <[email protected]>
Signed-off-by: Dan Nicholson <[email protected]>
(cherry picked from commit 8d86d395dcf6a5f192b6987485bb7aef49f1fefc)
|
| | |
| | |
| | |
| | |
| | | |
Some of the entrypoints defined in other .xml files will need to
be removed in favor of these...
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
This should have been included with the previous commit.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This fixes broken 3D texture indexing when the height of the 3D texture
was less than 64 (the tile size). It's simpler to pass this as an array
(as we do with the row stride) than to compute it on the fly.
|
| | | |
|