summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
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-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-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-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-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-08glsl: preprocessor debug code (disabled)Brian Paul
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
2009-06-08mesa: bump MAX_PROGRAM_ENV_PARAMS from 128 to 256Brian Paul
Also, MAX_NV_VERTEX_PROGRAM_PARAMS should be 96, not 128 (or 256).
2009-06-08mesa/vbo: drop all references to vbo on destroyKeith Whitwell
We were adding references to the input arrays, but failing to drop them on destruction. This could lead to a 64kb buffer being leaked each context destruction.
2009-06-08mesa: EXT_vertex_array_bgra fixesBrian Paul
1) Pass the correct format when calling update_array in _mesa_VertexAttribPointerARB. 2) glVertexAttribPointerNV accepts GL_BGRA format too. 3) raise INVALID_VALUE error when format is BGRA and normalized is false in glVertexAttribPointerARB (cherry picked from commit 4adb190a162c5ed0684a8616331344caadba4010)
2009-06-08mesa: EXT_vertex_array_bgra fixesMaciej Cencora
1) Pass the correct format when calling update_array in _mesa_VertexAttribPointerARB. 2) glVertexAttribPointerNV accepts GL_BGRA format too. 3) raise INVALID_VALUE error when format is BGRA and normalized is false in glVertexAttribPointerARB
2009-06-08r300: fix regression caused by 056bc77547c304021a0faf204897ed238a5cf424Maciej Cencora
Fixes GPU hangs in software TCL path
2009-06-07Merge remote branch 'origin/master' into radeon-rewriteDave Airlie
2009-06-07r300: Endianness fixes for recent vertex path changes.Michel Dänzer
Signed-off-by: Maciej Cencora <m.cencora@gmail.com>
2009-06-07r300: vertex array stride = 0 means that data are tightly packed in the arrayMaciej Cencora
2009-06-07r300: GL_(U)SHORT and GL_(U)BYTE with < 4 components can also be HW acceleratedMaciej Cencora
Also when index format is GL_UBYTE, convert it to GL_USHORT not GL_UINT. Fix license header too. Reported by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-06-07r300: remove unused codeMaciej Cencora
2009-06-07r300: rewrite vertex setup for software T&L path using functions from ↵Maciej Cencora
software TCL path
2009-06-07r300: prepare for some code duplication removalMaciej Cencora
2009-06-07r300: enable EXT_vertex_array_bgra extensionsMaciej Cencora
2009-06-07r300: add hw accelerated support for different vertex data formatsMaciej Cencora
2009-06-07r300: prepare for different vertex data type supportMaciej Cencora
2009-06-07r300: fixup vertex attributes orderingMaciej Cencora
Always allocate the vertex program input registers in the same order as the vertex attributes are passed in vertex arrays.
2009-06-07r300: always pass 4 color components to RS unitMaciej Cencora
Even if we don't pass all 4 color components to vertex shader unit, the vertex program can generate the missing components.
2009-06-05mesa: bump version to 7.5-rc3Brian Paul
2009-06-04osmesa: Allow building standalone in all three channel widthsDan Nicholson
autoconf had been designating the 8 bit libOSMesa as the default standalone osmesa, but the Makefile expected it to be linked to libGL. Fix up the osmesa Makefile so that it allows any of the combinations of standalone and channel width to be built. Fixes bug #21980. (cherry picked from commit 7441dcd90b01df8351026af8bbb50e11bb86071a)
2009-06-04osmesa: Allow building standalone in all three channel widthsDan Nicholson
autoconf had been designating the 8 bit libOSMesa as the default standalone osmesa, but the Makefile expected it to be linked to libGL. Fix up the osmesa Makefile so that it allows any of the combinations of standalone and channel width to be built. Fixes bug #21980.
2009-06-04re-arrange state structureAlex Deucher
- split out renderbuffers - split out shaders - split our viewports Only send the state needed.
2009-06-04Don't program VGT_OUT_DEALLOC_CNTL/VGT_VERTEX_REUSE_BLOCK_CNTLAlex Deucher
These are chip specific and are programmed by the drm. This should fix hangs on some chips.