summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
AgeCommit message (Collapse)Author
2008-12-04gallium: query PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS to set ↵Brian
ctx->Constants.MaxVertexTextureImageUnits
2008-12-04gallium: check vertex shaders for samplers/texture usage as we do for ↵Brian
fragment shaders
2008-11-28Merge commit 'origin/gallium-0.1' into gallium-0.2Alan Hourihane
Conflicts: src/gallium/auxiliary/tgsi/tgsi_sse2.c
2008-11-26gallium: fix glBitmap color bugBrian Paul
By time we get around to rendering the cached bitmap, the current color may have changed. Need to make sure we load the constant slot with the cached color.
2008-11-26gallium: replace 2 with PIPE_SHADER_TYPESBrian Paul
2008-11-25Merge commit 'origin/gallium-0.1' into gallium-0.2Alan Hourihane
Conflicts: scons/gallium.py src/gallium/auxiliary/pipebuffer/pb_buffer.h
2008-11-24gallium: fix inverted raster pos when drawing into FBOBrian Paul
2008-11-24mesa: pass shader centroid/invariant info through to the TGSI shaderBrian Paul
2008-11-24mesa: Don't call fence_finish with a null fence.José Fonseca
2008-11-21mesa: Bring in new mesa sub-statetracker.José Fonseca
Some code cleanup is still in order.
2008-11-19add SRGB formatsAlan Hourihane
2008-11-13gallium: add st_set_teximage_surface for EXT_texture_from_pixmapBen Skeggs
support.
2008-11-10Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul
Conflicts: src/gallium/auxiliary/util/u_math.c
2008-11-10Mesa: fix number of buffers in st_draw_vbo().Pekka Paalanen
The clean-up call to pipe->set_vertex_buffers() should use the same number of buffers as the first call. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-11-07gallium: translate DP2, DP2A, NRM3, NRM4, SSG opcodesBrian Paul
2008-11-06gallium: s/OPCODE_INT/OPCODE_TRUNC/Brian Paul
2008-11-06Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul
2008-11-06gallium: added st_print_shaders() function to help w/ debuggingBrian Paul
2008-11-05Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul
Conflicts: src/gallium/auxiliary/rtasm/rtasm_execmem.c src/mesa/shader/slang/slang_emit.c src/mesa/shader/slang/slang_log.c src/mesa/state_tracker/st_atom_framebuffer.c
2008-11-05gallium: added check for degenerate drawing callsBrian Paul
2008-11-05gallium: if VERBOSE_GLSL flag is set, check for non-initialized uniforms at ↵Brian Paul
draw time This will warn the user that the shader being run may be using uninitialized uniform variables.
2008-11-03gallium: no renderbuffer, so just exit.Alan Hourihane
2008-11-03softpipe: Don't call pipe_buffer_destroy directly.José Fonseca
Use pipe_buffer_reference instead.
2008-10-18gallium: add some checks for null surface pointers in state trackerBrian Paul
Fixes some segfaults in low memory situations.
2008-10-17Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul
Conflicts: progs/trivial/tri.c
2008-10-17gallium: fix mis-matched malloc/free vs. aligned malloc/freeBrian Paul
Use aligned malloc/free for teximage data everywhere to be consistant. The mismatch didn't make any difference when HAVE_POSIX_MEMALIGN was defined.
2008-10-15Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell
Conflicts: src/mesa/main/context.c
2008-10-10mesa: new _mesa_set_vp_override() function for driver-override of vertex programBrian Paul
Patch provide by Keith. Used in state tracker by DrawPixels to indicate that the state tracker (driver) is using its own vertex program. This prevents the texenvprogram code from replacing conventional shader inputs with state vars. Fixes glDraw/CopyPixels regressions.
2008-10-10Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell
Conflicts: src/gallium/auxiliary/gallivm/instructionssoa.cpp src/gallium/auxiliary/gallivm/soabuiltins.c src/gallium/auxiliary/rtasm/rtasm_x86sse.c src/gallium/auxiliary/rtasm/rtasm_x86sse.h src/mesa/main/texenvprogram.c src/mesa/shader/arbprogparse.c src/mesa/shader/prog_statevars.c src/mesa/state_tracker/st_draw.c src/mesa/vbo/vbo_exec_draw.c
2008-10-09mesa: rasterizer state depends on ST_NEW_VERTEX_PROGRAMBrian Paul
Check for per-vertex point size must be done when vertex program changes.
2008-10-07Mesa: fix the case where there are no vertex attributes.Stephane Marchesin
This is a backport of 8e8208d6db8b764568539784a6473d545dec2265 to gallium-0.1
2008-10-06mesa: fix convolve/convolution mix-upsBrian
2008-10-06Mesa: fix the case where there are no vertex attributes.Stephane Marchesin
2008-09-26st: add prototype for st_get_framebuffer_dimensions()Alan Hourihane
2008-09-26st: export st_get_framebuffer_dimensions() to retrieveAlan Hourihane
the width & height of the fb
2008-09-26mesa: fix incorrect parameter orderBrian Paul
2008-09-26mesa: remove const qualifiers to match device driver interface functionBrian Paul
2008-09-26gallium: rename tgsi_translate_mesa_program() to st_translate_mesa_program()Brian Paul
2008-09-26gallium: rename tgsi_translate_mesa_program() to st_translate_mesa_program()Brian Paul
2008-09-26st: change from ** to * for st_unreference_framebuffer()Alan Hourihane
2008-09-21gallium: cleanup the after merge framebuffer update codeZack Rusin
adjust it and make it behave like it used to
2008-09-21gallium: fix a fbo crashZack Rusin
don't dirty the fb if we're rebining the frontbuffer
2008-09-21Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell
2008-09-21state_tracker: remove dead fileKeith Whitwell
2008-09-19mesa: Fix arb parse constantsBrian Paul
2008-09-18gallium: if we run out of memory in st_TexImage, flush and try again.Brian Paul
If the driver buffers a scene flushing should release old textures and make space for new ones. Fixes problem with texdown.c test.
2008-09-18Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell
Conflicts: src/mesa/shader/slang/slang_link.c
2008-09-17gallium: fix fog vs. pointcoord attribute handling in mesa->TGSI conversionBrian Paul
2008-09-17gallium: clean-up/fix msaa override in state trackerBrian Paul
2008-09-17gallium: include prog_print.h to silence warningBrian Paul