aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* progs/fpglsl: fp-tris for glslKeith Whitwell2010-02-036-0/+487
|
* svga: fix TXD and TXL opcode translationKeith Whitwell2010-02-032-15/+122
|
* svga: deriv insns not valid in dynamic flow control eitherKeith Whitwell2010-02-031-3/+48
|
* svga: texture from lod zero inside dynamic branchingKeith Whitwell2010-02-032-13/+59
| | | | | | 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.
* svga: better method for generating white fs color outputsKeith Whitwell2010-02-036-106/+75
|
* mesa/st: bump the gallium version numberKeith Whitwell2010-02-031-1/+1
| | | | | This is a very informal version number, but there have been enough changes that a bump is appropriate at this time.
* st/mesa: remove some floating point divides in viewport calculationKeith Whitwell2010-02-031-3/+3
| | | | | Compiler can't usually turn x/2.0f into x * 0.5f, though we're happy with either.
* gallium-docs: Fix typo.José Fonseca2010-02-031-2/+2
|
* r300: fix compiler bugs introduced with MRT changes.Dave Airlie2010-02-032-2/+3
| | | | | | | the first looks like a definite bug, the second I'm not so confident of but it works. Signed-off-by: Dave Airlie <[email protected]>
* egl: Rename _eglPreloadForEach callbacks.Chia-I Wu2010-02-031-12/+12
| | | | | | | 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.
* egl: Fix a potential segfault in driver suffix matching.Chia-I Wu2010-02-031-3/+5
| | | | | The driver suffix might be NULL on some platforms. Perform the matching only when there is a suffix.
* egl: Remove unnecessary #ifdef's.Chia-I Wu2010-02-031-8/+0
| | | | | There were some refactorings with the addition of EGL_DRIVERS_PATH. They made some platform #ifdef's unnecessary.
* egl: Ignore certain environment variables when setuid/setgid.Chia-I Wu2010-02-032-4/+19
| | | | | Specifically, ignore EGL_DRIVERS_PATH when an application is setuid/setgid. And ignore EGL_DRIVER when there is a slash in it.
* egl: Add EGL_DRIVERS_PATH environment variable.Chia-I Wu2010-02-032-99/+200
| | | | | | | | | 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.
* draw: remove old hard-coded shader length limitsBrian Paul2010-02-023-12/+20
|
* tgsi: added tgsi_alloc_tokens()Brian Paul2010-02-022-0/+15
|
* draw: re-implement free_bit() with ffs()Brian Paul2010-02-022-12/+2
|
* draw: comments and var renamingBrian Paul2010-02-021-10/+13
|
* tgsi: fix commentBrian Paul2010-02-021-1/+1
|
* draw: add const qualifiers, fix return typesBrian Paul2010-02-022-4/+6
|
* softpipe: remove unnecessary #includeBrian Paul2010-02-021-1/+0
|
* draw: new, updated commentsBrian Paul2010-02-021-4/+20
| | | | Try to avoid future confusion between different, but similar functions.
* llvmpipe: fix (potentially) broken AA points, AA linesBrian Paul2010-02-021-1/+1
| | | | This patch duplicates the softpipe fix seen in the preceeding commit.
* softpipe: fix broken AA points, AA linesBrian Paul2010-02-021-1/+1
| | | | | | | 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.
* gallium/docs: Opcode refs.Corbin Simpson2010-02-021-4/+5
| | | | There is a very real possibility that I may be enjoying this too much.
* gallium/docs: TGSI notes on replication to dst, and also cleanups.Corbin Simpson2010-02-021-117/+104
| | | | Slowly, surely, I'm making this better.
* gallium/docs: Start turning notes into docs.Corbin Simpson2010-02-021-12/+15
| | | | | Yeah, what's that? You can read it? It's got, hmm, *readability*? Nice, ain't it. :3
* gallium/docs: Add opcode formatting.Corbin Simpson2010-02-023-120/+137
|
* gallium/docs: default Z texture tuple is (z,z,z,1) for OpenGLBrian Paul2010-02-021-3/+3
|
* gallium/docs: s/convensions/conventions/Brian Paul2010-02-021-1/+1
|
* r300g: Texture format cleanups, per docs.Corbin Simpson2010-02-021-3/+10
| | | | texenv is perfect now.
* gallium/docs: Did somebody call for a table?Corbin Simpson2010-02-021-21/+31
|
* Track frag shader changes introduced by commit ↵Scott Moreau2010-02-021-1/+1
| | | | | | 4769566500be1a53dd9b4cc1a613aef439a0e3d8 Signed-off-by: Corbin Simpson <[email protected]>
* mesa: Add a BITSET_FFS function.Francisco Jerez2010-02-021-1/+24
| | | | | | | It will be useful for the nouveau DRI driver and IMHO there's no reason to keep it private. Signed-off-by: Brian Paul <[email protected]>
* gallium/docs: table of texture formats and (x,y,z,w) tuples returned by TEXBrian Paul2010-02-021-0/+29
| | | | | Maybe someone can convert this into a real table instead of just preformatted text.
* r300compiler: Add MRT number to debugging output.Corbin Simpson2010-02-022-4/+4
|
* r300compiler, r300 classic, r300g: Add support for MRTs in the frag shader.Corbin Simpson2010-02-028-14/+40
| | | | This maybe breaks the vert compiler. Hopefully not.
* tgsi: ureg_DECL_gs_input() accepts shader semantics.Michal Krol2010-02-022-6/+16
|
* vega: implement tgsi_ureg shaders cacheIgor Oliveira2010-02-021-74/+75
|
* vega: change tgsi asm by tgsi_uregIgor Oliveira2010-02-021-171/+380
|
* r200: Fix EXT_fogcoord rendering.Pauli Nieminen2010-02-021-2/+2
| | | | | 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
* r300g: Fix funky segfault.Corbin Simpson2010-02-012-6/+8
|
* st/egl: Wrong context might be used in eglBindTexImage.Chia-I Wu2010-02-021-9/+11
| | | | | 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.
* docs: Update for EGL environment variables.Chia-I Wu2010-02-022-2/+7
| | | | | Mention that EGL_DRIVER should be a full path, and add a link from envvars.html to egl.html.
* progs/es2: Fix an assertion failure in tri.Chia-I Wu2010-02-021-2/+3
| | | | | EGL_SURFACE_TYPE is a config attribute, not a surface attribute. Thanks to Mike Stroyan for pointing out this error.
* st/mesa: fix texture deallocation bugBrian Paul2010-02-011-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a bug reported by Christoph Bumiller on mesa3d-dev. When a texture is first created as RGBA, then re-defined with glTexImage(internalFormat=GL_DEPTH_COMPONENT) we failed to deallocate the original texture. When this texture was bound as a FBO surface, the depth/Z surface format was RGBA instead of Z. Depending on the driver this led to a failed assertion or FBO validation failure. This patch does three things: 1. Remove ancient code that mysteriously tested if we were replacing the smallest mipmap level and tested if the texture was not a cube map texture. I can't see any reason for those tests. 2. Move the width=height=depth=0 test to after the code which frees texture data. Calling glTexImage with width=height=depth=0 and data=NULL is a way to free a single mipmap level. 3. Update the code comments. There are no apparent conform, glean or piglit regressions from this change. (cherry picked from commit 43e4b584227534e30e487e7fb7e99d6501cbcd85)
* progs/tests: add another FBO test to exercise a RGBA vs. Z texture bugBrian Paul2010-02-013-0/+233
| | | | See comments in file for more details.
* mesa: change _mesa_find_free_register() to find multiple free regsBrian Paul2010-02-013-29/+62
| | | | | | | | | | | | | | | | | Before, _mesa_find_free_register() would scan the given shader to find a free/unused register of the given type. But subsequent calls would return the same register again. This caused a failure in the _mesa_remove_output_reads() function which sometimes needs several free temps. Now use a new function which build a vector of 'used' flags and another function which searches that vector for an unused register starting at a position that's incremented for each call. Fixes fd.o bug 26317. Note that a regression test for this has been added to the glean/glsl1 test. (cherry picked from commit e0d01c9d7f46ccd531f8dd1a04c5ac067200ef1e)
* r300g: Inline immediates where possible.Corbin Simpson2010-02-012-8/+60
| | | | Oh look, more gears. Seems to work just fine though.
* st/mesa: remove duplicate calculation of fp input mappingKeith Whitwell2010-02-015-37/+12
| | | | | This was being calculated the same way in two different places. Now just do it in st_translate_fragment_program().