summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-06-10glsl: Handle continuation characters in preprocessor.Michal Krol
2009-06-10swrast: fix state validation bug for changing program constantsBrian Paul
Add _NEW_PROGRAM_CONSTANTS to _SWRAST_NEW_DERIVED. This makes sure that we update the fragment shader's constants when state vars (such as point size) changes. Fixes the progs/glsl/points.c demo.
2009-06-10glsl: Fix symbol replacement handling in preprocessor.Brian Paul
(cherry picked from master, commit d9617deb008b75f4a605a30408aeb1948139c33e)
2009-06-10mesa: disable texture unit error check in _mesa_MatrixMode()Brian Paul
See comments for details.
2009-06-10util: Single precision constants.José Fonseca
2009-06-10mesa: Single precision constants.José Fonseca
2009-06-10mesa: Pure software accum buffer.José Fonseca
The existing implementation was already implemented on software, but relied on the pipe driver to always support the R16G16B16A16_SNORM format. This patch eliminates that, without prejudice against a future hardware-only implementation. It also avoids some of the short <-> float conversions, and only does a read transfer of the color buffer on GL_RETURN if absolutely necessary.
2009-06-10gallium: Shorthand functions for computing stride and sizes for a rect.José Fonseca
2009-06-10gallium: updated PIPE_CAP_x commentsBrian Paul
2009-06-10r300: make sure indexed rendering doesn't try to use more than the num of ↵Jerome Glisse
vertices When with memory manager we need to make sure the GPU won't try to access beyond vertex buffer size, do so by enforcing that the maximun index is the last vertex of the buffer.
2009-06-09Pull in additional state setup from the DDXAlex Deucher
2009-06-09mesa/st: fix tracking of mapped buffer rangesKeith Whitwell
In st_bufferobj_map_range(), set obj->Offset consistently with its usage elsewhere.
2009-06-09stw: ignore swapbuffer requests on singlebufferKeith Whitwell
Return TRUE in this case. Returning FALSE seems to result in mis-rendering -- possibly opengl32.dll is trying to compensate by doing a software blit??
2009-06-09glsl: Expand nested preprocessor macros.Brian Paul
(cherry picked from master, commit ef8caec29ae73bb2bbeb48f0578d839ef29348cd)
2009-06-09Merge branch 'mesa_7_5_branch'Jakob Bornecrantz
Conflicts: Makefile src/mesa/main/version.h src/mesa/shader/slang/slang_preprocess.c src/mesa/state_tracker/st_cb_bufferobjects.c
2009-06-10glsl: Fix symbol replacement handling in preprocessor.Michal Krol
2009-06-10winsys/gdi: Link to ws2_32 library.Michal Krol
2009-06-10trace: __func__ --> __FUNCTION__.Michal Krol
2009-06-09i915: Add an option for testing the effect of early Z in classic mode.Eric Anholt
The early Z stuff is supposed to be unsafe without some more work in the enable/disable path (in particular, how do we want to get it disabled on the way out to the X Server?), but at the moment is 6% in OA.
2009-06-09intel: Remove an unneeded hunk that slipped in with texture tiling.Eric Anholt
intel_miptree_pitch_align does this later on.
2009-06-09intel: Base tri clearing depth on Y tiling, not IS_I965().Eric Anholt
Y tiling is why the 965 check was there, but I wanted to experiment with Y on pre-965 as well.
2009-06-09intel: Fix intel_region_unmap to do unmap, not map.Eric Anholt
Thanks to Shuang He for catching this.
2009-06-09i965: added intelFlush() call in intel_get_tex_image()Brian Paul
Fixes the render-to-texture test in progs/tests/getteximage.c
2009-06-09intel: use GLboolean, not int, for compressed parameterBrian Paul
2009-06-09intel: make a bunch of glTexImage-related functions staticBrian Paul
2009-06-09intel: whitespace clean-upsBrian Paul
2009-06-09vbo: more glDrawElements debug code (disabled)Brian Paul
2009-06-09mesa: added a simple bounds checker to glMap/UnmapBuffer() (disabled)Brian Paul
2009-06-09trace/rbug: Add support for draw block ruleJakob Bornecrantz
2009-06-09rbug: Change block protocol around a bitJakob Bornecrantz
2009-06-09trace/rbug: Return textures currently bound to contextJakob Bornecrantz
2009-06-09rbug: Extend context info and block opsJakob Bornecrantz
2009-06-09intel: remove extra \n from warning stringBrian Paul
2009-06-09mesa: reorder fields, update comments for gl_buffer_objectBrian Paul
2009-06-09glsl: Expand nested preprocessor macros.Michal Krol
2009-06-09radeon: fix mipmap_limits crasher.Dave Airlie
This gets the correct srclvl image map when uploading images to the new mipmap.
2009-06-08r300-gallium: HW TCL glxgears. (Read the rest of the log.)Corbin Simpson
Um. So, yeah. Two massive WTF moments here. The first one is that, somehow, I never actually hooked up vertex shader emission, so the only time that the VAP gets set up is during surface_copy/surface_fill. That's why acidgears was happening. The second one is that, somehow, once I actually hooked it up, glxgears just magically worked. Without any actual, real testing, I somehow accidentally made the shader compiler work. Go figure.
2009-06-08r300-gallium: Make UCP and clip work again for SW TCL.Corbin Simpson
SW TCL: tri-clip works, tri-userclip works HW TCL: tri-clip fails, tri-userclip works That is a 200% improvement over the previous situation. Woot.
2009-06-08r300-gallium: Don't emit UCP planes for SW TCL.Corbin Simpson
2009-06-08st/mesa: fix incorrect bufObj Length assignment, remove unneeded assertionBrian Paul
2009-06-08glsl: Fix preprocessor define argument parsing for dead sections.Brian Paul
(cherry picked from master, commit 19a54d9f1055c366fd77026dd67007a8d5921f58)
2009-06-08glsl: Fix preprocessor define argument parsing for dead sections.Michal Krol
2009-06-08pipebuffer: Silence out of heap space debug printJakob Bornecrantz
2009-06-08glsl: preprocessor debug code (disabled)Brian Paul
2009-06-08softpipe: advertise PIPE_CAP_MAX_TEXTURE_ANISOTROPY as 16.0Brian Paul
Note that this doesn't have any real significance since PIPE_CAP_ANISOTROPIC_FILTER still returns 0.
2009-06-08mesa: new MESA_EXTENSION_OVERRIDE env varBrian Paul
Can be used to enable/disable extensions as reported by glGetString(GL_EXTENSIONS). If a name is preceeded by '-' it's disabled. Otherwise, the named extension is enabled. Intended for debug/test purposes.
2009-06-08st/mesa: remove invalid assertionBrian Paul
It's legal for ARB_vertex_program programs to not write to result.position. The results are undefined in that case. This assertion was causing us to abort/exit though.
2009-06-08mesa: Use matching signedness for the counter as upper bound.José Fonseca
2009-06-08mesa: Allocate tokens from the heap.José Fonseca
The recent increase ST_MAX_SHADER_TOKENS to 8K causes stack overflows on windows. Failure to allocate is not being propagated to the caller. This is not a regression since the previous _mesa_malloc result wasn't being checked as well. Unfortunately it is not easy to fix, as the callers of these functions do not have failure propagation mechanism either, and so on. So leaving a just fixme note for now.
2009-06-08mesa: better error message for invalid texture unit indexBrian Paul