summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cell: remove unneeded blend/depth_stencil subclassesBrian Paul2008-09-264-72/+15
|
* cell: checkpoint: support for function calls in SPU shadersBrian Paul2008-09-268-3/+254
| | | | | | | Will be used for instructions like SIN/COS/POW/TEX/etc. The PPU needs to know the address of some functions in the SPU address space. Send that info to the PPU/main memory rather than patch up shaders on the SPU side. Not finished/tested yet...
* cell: inst reorder to save a cycleBrian Paul2008-09-261-1/+1
|
* st: add prototype for st_get_framebuffer_dimensions()Alan Hourihane2008-09-262-2/+5
|
* st: export st_get_framebuffer_dimensions() to retrieveAlan Hourihane2008-09-261-0/+7
| | | | the width & height of the fb
* mesa: fix incorrect parameter orderBrian Paul2008-09-261-3/+3
|
* mesa: remove const qualifiers to match device driver interface functionBrian Paul2008-09-261-2/+2
|
* gallium: rename tgsi_translate_mesa_program() to st_translate_mesa_program()Brian Paul2008-09-263-4/+4
|
* mesa: add some bracesBrian Paul2008-09-261-1/+2
|
* mesa: fix/simplify initialization of vertex/fragment program limitsBrian Paul2008-09-262-30/+27
| | | | | | Defaults for program length, num ALU instructions, num indirections, etc. basically indicate no limit for software rendering. Driver should override as needed.
* mesa: increase MAX_INSTRUCTIONSBrian Paul2008-09-261-4/+2
|
* mesa: fix swizzle failure, fix typoBrian Paul2008-09-261-3/+5
|
* mesa: fix default buffer object access valueBrian Paul2008-09-261-2/+9
|
* st: change from ** to * for st_unreference_framebuffer()Alan Hourihane2008-09-266-7/+7
|
* mesa: fix indentingKeith Whitwell2008-09-261-14/+14
|
* dri: remove unused files present only on gallium-0.2 branchKeith Whitwell2008-09-262-638/+0
|
* Merge commit 'origin/master' into HEADKeith Whitwell2008-09-2610-33/+53
|\ | | | | | | | | | | | | | | Conflicts: src/mesa/vbo/vbo.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_exec_draw.c
| * mesa: fix cast/conversion for optional codeBrian2008-09-252-5/+7
| |
| * mesa: fix typo (s/feadback/feedback/). Fixes broken selection/feedback.Brian Paul2008-09-251-2/+2
| |
| * mesa: fix float->int mapping for glGetIntegerv(GL_DEPTH_CLEAR_VALUE)Brian Paul2008-09-252-3/+3
| |
| * mesa: fix some VBO buffer object issuesBrian Paul2008-09-252-11/+23
| | | | | | | | | | | | The VBO module may use a real VBO or a malloc'd buffer for vertex storage. Be careful not to accidentally replace the later with the former when drawing. Check if using a real VBO at destroy time to prevent a double-free.
| * mesa: fix function params to match prototypesSam Hocevar2008-09-251-5/+5
| |
| * mesa: prevent the slang code generator from aborting when faced with a ↵Sam Hocevar2008-09-251-1/+5
| | | | | | | | sampler variable redeclaration.
| * i965: support for sin() and cos() in vertex shaders.Sam Hocevar2008-09-251-0/+6
| |
| * i965: more meaningful message for unsupported opcodes.Sam Hocevar2008-09-252-3/+8
| |
| * intel: Fix clears to depth_stencil texture attachments.Eric Anholt2008-09-241-1/+1
| | | | | | | | | | | | Broken by 0adfd1021035e90995a25ec5f20b736e55075d92, showed up as an assertion failure in a software fallback in the shadowtex demo when we failed to recognize the texture format.
| * set SamplerUnit[] entry in load_texture() just to be safeBrian2008-09-241-0/+4
| | | | | | | | (cherry picked from commit fce4612f8a29ee1798c9326a431a139d856c7a04)
| * use PROGRAM_CONSTANT instead of PROGRAM_STATE_VAR when generating ↵Brian2008-09-241-1/+1
| | | | | | | | | | | | immediates/literals (cherry picked from commit fdc8636bdc65deb0d95a62a51c8d9bca05bc6bb8)
| * set program->SamplersUsed bit when using a texture instructionBrian2008-09-241-1/+4
| |
| * Remove ctx field from texenvprog_cacheBrian2008-09-241-4/+4
| |
| * include programopt.hBrian2008-09-241-0/+1
| | | | | | | | (cherry picked from commit 83fad68ec1989c719646a76f4cc5e0b3d23537ed)
| * Disable vertex shader fog, compute fog in fragment shader.Brian2008-09-241-5/+11
| |
| * temporarily set the FRAG_BIT_FOGC bit in InputsRead when fog is enabledBrian2008-09-241-0/+1
| | | | | | | | (cherry picked from commit 63be96bdc7e9f388a5c49295bd7e150462fd003a)
| * mesa: fix main/ prefix in includeKeith Whitwell2008-09-231-1/+1
| |
| * vbo: unmap and remap immediate vbo before/after each draw.Keith Whitwell2008-09-231-0/+16
| | | | | | | | | | | | | | | | | | | | Also use BufferData(NULL) to get fresh storage and avoid synchronous operation where we would have to flush and wait for the fence after each draw because of the map. This will chew through a whole load of buffer space on small draws, so it isn't a proper solution. Need to support a no-fence or append mapping mode to do this right, or use user buffers.
| * added vbo_use_buffer_objects() to specify that immediate mode data should be ↵Brian2008-09-233-2/+51
| | | | | | | | put into bufferobjects
| * vbo: seed initial max_element value with a more likely candidateKeith Whitwell2008-09-231-6/+6
| | | | | | | | (cherry picked from commit 026e7731e549e0777c010348460fd48b3d75a843)
* | egl: cleanup doublebuffer checkAlan Hourihane2008-09-261-2/+3
| |
* | egl: switch to egl_glx.so as the default EGL driver for X.Alan Hourihane2008-09-261-4/+3
| |
* | egl: fudge with LIBGL_DRIVERS_PATH to pick up EGL specific DRI driver.Alan Hourihane2008-09-261-3/+12
| |
* | egl: Add new EGL driver that wraps GLX.Alan Hourihane2008-09-262-0/+648
| |
* | link EGL demos with -lGLAlan Hourihane2008-09-261-8/+8
| |
* | util: Update fast_log2 article url.José Fonseca2008-09-261-1/+1
| |
* | add cso_hash_contains() functionAlan Hourihane2008-09-242-0/+12
| |
* | Merge commit 'origin/master' into gallium-0.2Keith Whitwell2008-09-230-0/+0
|\| | | | | | | | | | | Conflicts: src/mesa/shader/shader_api.c
| * mesa: s/GL_POLYGON+1/PRIM_OUTSIDE_BEGIN_END/Brian Paul2008-09-232-6/+6
| | | | | | | | (cherry picked from commit 8a369b909a6648ae7a5a0c2dcb972a2f96f99a80)
| * mesa: glsl: fix glGetUniform for matrix queriesBrian Paul2008-09-231-50/+79
| | | | | | | | (cherry picked from commit 7a6eba54d064cadf15f93df2c1748cf5e474ef03)
| * mesa: glsl: fix a number of glUniform issuesBrian Paul2008-09-231-31/+199
| | | | | | | | | | | | | | | | | | Additional error checking. Allow setting elements of uniform arrays. This involves encoding both a uniform location and a parameter offset in the value returned by glGetUniformLocation(). Limit glUniform[if]v()'s count to the size of the uniform array. When setting bool-valued uniforms, convert all float/int values to 0 or 1.
| * mesa: glsl: fix error check in get_uniformfv()Brian Paul2008-09-231-4/+9
| | | | | | | | (cherry picked from commit 18cd9c229a1fc8da8b7669b8d1d100f6bbeca183)
* | Merge commit 'origin/master' into gallium-0.2Keith Whitwell2008-09-231-2/+2
|\| | | | | | | | | | | | | | | Conflicts: src/mesa/main/drawpix.c src/mesa/shader/prog_uniform.c src/mesa/shader/slang/slang_link.c