summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-02-03tgsi: convert CHECK_INF_OR_NAN to inline functionBrian Paul
And disable with if (0). Inf/NaN can occur normally during program execution. Only enable the check code when needed during debugging.
2010-02-03mesa: Factor out the fb initialization details from _mesa_new_framebuffer.Francisco Jerez
This should make things easier for drivers wanting to work with a "subclass" of gl_framebuffer. The complementary "_mesa_initialize_framebuffer" function is now called "_mesa_initialize_window_framebuffer" for the sake of symmetry. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-02-03vbo: fix void * arithmetic warningKeith Whitwell
2010-02-03vbo: Fix up in-place splitting for non-contiguous/indexed primitives.Francisco Jerez
The in-place splitting code wasn't dealing with index buffers at all (and it was being called from vbo_split_prims for too big index buffers, causing some occasional corruption). Additionally, it wasn't taking into account primitives arrays with non-contiguous indices (e.g. given prim[0].start = 0 and prim[1].start = max_verts, it would happily call back the driver with (max_index - min_index) still greater than max_verts, causing infinite recursion). It still doesn't handle too large indexed vertex buffers: use vbo_split_copy for that.
2010-02-03progs/fpglsl: couple more testsKeith Whitwell
2010-02-03progs/fpglsl: fp-tris for glslKeith Whitwell
2010-02-03svga: fix TXD and TXL opcode translationKeith Whitwell
2010-02-03svga: deriv insns not valid in dynamic flow control eitherKeith Whitwell
2010-02-03svga: texture from lod zero inside dynamic branchingKeith Whitwell
Texture derivatives are potentially undefined inside dynamic branches, so hardwire lod zero in this case. Treating all if/endif and loop constructs as dynamic branches.
2010-02-03svga: better method for generating white fs color outputsKeith Whitwell
2010-02-03mesa/st: bump the gallium version numberKeith Whitwell
This is a very informal version number, but there have been enough changes that a bump is appropriate at this time.
2010-02-03st/mesa: remove some floating point divides in viewport calculationKeith Whitwell
Compiler can't usually turn x/2.0f into x * 0.5f, though we're happy with either.
2010-02-03gallium-docs: Fix typo.José Fonseca
2010-02-03r300: fix compiler bugs introduced with MRT changes.Dave Airlie
the first looks like a definite bug, the second I'm not so confident of but it works. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-02-03egl: Rename _eglPreloadForEach callbacks.Chia-I Wu
Rename _eglPreloadFile to _eglLoaderFile, and _eglPreloadFile to _eglLoaderFile. There are several _eglPreload* functions. The callbacks do not belong to them and it should be better to give them a different prefix.
2010-02-03egl: Fix a potential segfault in driver suffix matching.Chia-I Wu
The driver suffix might be NULL on some platforms. Perform the matching only when there is a suffix.
2010-02-03egl: Remove unnecessary #ifdef's.Chia-I Wu
There were some refactorings with the addition of EGL_DRIVERS_PATH. They made some platform #ifdef's unnecessary.
2010-02-03egl: Ignore certain environment variables when setuid/setgid.Chia-I Wu
Specifically, ignore EGL_DRIVERS_PATH when an application is setuid/setgid. And ignore EGL_DRIVER when there is a slash in it.
2010-02-03egl: Add EGL_DRIVERS_PATH environment variable.Chia-I Wu
EGL_DRIVERS_PATH gives a list of colon-separated directories. The given directories will be searched when preloading drivers. This is based on Mike Stroyan's patch, which honors the variable in _eglPreloadDisplayDrivers. It is extended to honor the variable also in _eglPreloadUserDriver and _eglPreloadDefaultDriver in this version.
2010-02-02draw: remove old hard-coded shader length limitsBrian Paul
2010-02-02tgsi: added tgsi_alloc_tokens()Brian Paul
2010-02-02draw: re-implement free_bit() with ffs()Brian Paul
2010-02-02draw: comments and var renamingBrian Paul
2010-02-02tgsi: fix commentBrian Paul
2010-02-02draw: add const qualifiers, fix return typesBrian Paul
2010-02-02softpipe: remove unnecessary #includeBrian Paul
2010-02-02draw: new, updated commentsBrian Paul
Try to avoid future confusion between different, but similar functions.
2010-02-02llvmpipe: fix (potentially) broken AA points, AA linesBrian Paul
This patch duplicates the softpipe fix seen in the preceeding commit.
2010-02-02softpipe: fix broken AA points, AA linesBrian Paul
This fixes a regression when the geometry shaders branch was merged to master with commit 89d8577fb3036547ef0b47498cc8dc5c77f886e0. progs/demos/pointblast and progs/redbook/anti work again.
2010-02-02gallium/docs: Opcode refs.Corbin Simpson
There is a very real possibility that I may be enjoying this too much.
2010-02-02gallium/docs: TGSI notes on replication to dst, and also cleanups.Corbin Simpson
Slowly, surely, I'm making this better.
2010-02-02gallium/docs: Start turning notes into docs.Corbin Simpson
Yeah, what's that? You can read it? It's got, hmm, *readability*? Nice, ain't it. :3
2010-02-02gallium/docs: Add opcode formatting.Corbin Simpson
2010-02-02gallium/docs: default Z texture tuple is (z,z,z,1) for OpenGLBrian Paul
2010-02-02gallium/docs: s/convensions/conventions/Brian Paul
2010-02-02r300g: Texture format cleanups, per docs.Corbin Simpson
texenv is perfect now.
2010-02-02gallium/docs: Did somebody call for a table?Corbin Simpson
2010-02-02Track frag shader changes introduced by commit ↵Scott Moreau
4769566500be1a53dd9b4cc1a613aef439a0e3d8 Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2010-02-02mesa: Add a BITSET_FFS function.Francisco Jerez
It will be useful for the nouveau DRI driver and IMHO there's no reason to keep it private. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-02-02gallium/docs: table of texture formats and (x,y,z,w) tuples returned by TEXBrian Paul
Maybe someone can convert this into a real table instead of just preformatted text.
2010-02-02r300compiler: Add MRT number to debugging output.Corbin Simpson
2010-02-02r300compiler, r300 classic, r300g: Add support for MRTs in the frag shader.Corbin Simpson
This maybe breaks the vert compiler. Hopefully not.
2010-02-02tgsi: ureg_DECL_gs_input() accepts shader semantics.Michal Krol
2010-02-02vega: implement tgsi_ureg shaders cacheIgor Oliveira
2010-02-02vega: change tgsi asm by tgsi_uregIgor Oliveira
2010-02-02r200: Fix EXT_fogcoord rendering.Pauli Nieminen
The fogcoord calue was not pushed to GPU because of implicit float to int conversion. Fix is to use float pointer to buffer object so no conversion is done in assigment
2010-02-01r300g: Fix funky segfault.Corbin Simpson
2010-02-02st/egl: Wrong context might be used in eglBindTexImage.Chia-I Wu
If the pbuffer surface is current, gctx is set to the current context. Make sure it is set to OpenGL ES 1 context again before binding.
2010-02-02docs: Update for EGL environment variables.Chia-I Wu
Mention that EGL_DRIVER should be a full path, and add a link from envvars.html to egl.html.
2010-02-02progs/es2: Fix an assertion failure in tri.Chia-I Wu
EGL_SURFACE_TYPE is a config attribute, not a surface attribute. Thanks to Mike Stroyan for pointing out this error.