summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* tdfx: condition always evaluates to false in SetupDoubleTexEnvVoodoo3()Roel Kluin2010-01-051-1/+1
| | | | | | This can never be true. Signed-off-by: Roel Kluin <[email protected]>
* st/mesa: fix broken translation of negative register indexesBrian Paul2010-01-051-4/+16
| | | | | | | | | | A src register's index can be negative if we're doing indirect addressing into the constant buffer. Ex: MOV OUT[1], CONST[ADDR[0].x-3] This fixes the piglit vp-arl-neg-array.vpfp test. Before this change we were going out of bounds of the t->constants[] array and getting garbage that later triggered an assertion.
* ARB prog parser: regenerated parser fileBrian Paul2010-01-051-2/+5
|
* ARB prog parser: fix parameter binding typeBrian Paul2010-01-051-2/+5
| | | | | | | | | | References to program local and enviroment parameters are put into the unified program parameters list as PROGRAM_STATE_VAR entries which point into the local or environment arrays. So the param_binding_type field should be PROGRAM_STATE_VAR. This fixes the piglit vpfp-generic vp-arl-env-array.vpfp and vp-arl-local-array.vpfp test failures.
* ARB prog parser: regenerated parser filesBrian Paul2010-01-052-275/+285
|
* ARB prog parser: add allowSwizzle param to initialize_symbol_from_const()Brian Paul2010-01-051-8/+14
| | | | | | | | We need to disable constant consolidation when building an array of constants which might be indexed indirectly. Fixes regression in piglit vpfp-generic vp-arl-constant-array.vpfp test caused by earlier constant consolidation patch.
* mesa: whitespace changes and commentsBrian Paul2010-01-051-10/+6
|
* mesa: change constant search behaviour in _mesa_add_unnamed_constant()Brian Paul2010-01-051-4/+4
| | | | | | Only search for an existing, matching constant if swizzleOut is non-null. We need to be able to disable constant consolidation when building an array of constants which will be indexed indirectly.
* st/mesa: added PROGRAM_LOCAL_PARAM case in src_register()Brian Paul2010-01-051-0/+1
| | | | Fixes piglit vpfp-generic arl.vpfp failure when using gallium.
* mesa: bump version to 7.7.1-DEVELBrian Paul2010-01-051-4/+4
|
* mesa: add missing _mesa_lock_texture() callBrian Paul2010-01-041-0/+1
|
* i915: Use _MaxLevel on principle in texture setup.Eric Anholt2010-01-041-3/+4
| | | | | | It was OK before because we proceed to clamp the value to hardware limits, but given that other use of MaxLevel has been a trap, let's avoid it.
* intel: Fix CopyTexImage from tiled mipmap levels > 0.Eric Anholt2010-01-041-2/+3
| | | | Fixes piglit fbo-copyteximage.
* i965: Fix the surface offset calculation for tiled buffers.Eric Anholt2010-01-041-20/+30
| | | | | | If we ever had a non-tile-aligned tiled renderbuffer, the math was all off. Use the existing x,y coordinates instead of trying to reconstruct them from an incorrectly-calculated offset value.
* r600: support vertex_array_bgraAndre Maasikas2010-01-045-6/+25
| | | | | Use vertex program key mechanism and swizzle during vertex fetch - is there a better way?
* mesa: added GL_DU8DV8_ATI in extract_float_rgba()Brian Paul2010-01-041-0/+2
| | | | Fixes warning seen with Shadowgrounds. See bug 24016.
* mesa: Prevent possible array out-of-bounds access by _mesa_light.Vinson Lee2010-01-041-15/+32
|
* mesa: regenerated enums.c fileBrian Paul2010-01-041-234/+231
|
* glapi: comment-out TIMEOUT_IGNOREDBrian Paul2010-01-041-1/+3
| | | | This is not really a GLenum value.
* glsl: use varName variable in _slang_gen_assignment()Brian Paul2010-01-041-3/+4
|
* st/mesa: Only call st_texture_image_unmap() if texImage->Data is non-NULL.Michel Dänzer2010-01-041-1/+1
| | | | | This was already done in st_TexImage() but was missed between incremental changes to st_TexSubimage().
* r300: Use C-style comments.Vinson Lee2010-01-031-15/+15
|
* r300: Silence 'mixed declarations and code' warnings.Vinson Lee2010-01-031-4/+7
|
* r300: Silence 'mixed declarations and code' warning.Vinson Lee2010-01-031-1/+2
|
* r300: Silence 'mixed declarations and code' warning.Vinson Lee2010-01-031-1/+3
|
* mesa: Cope with the degenerate case of zero length ranges.José Fonseca2010-01-031-4/+45
| | | | Fixes assertion failures on glean's bufferObject test.
* apple: Purge existing (not working) GLX_USE_APPLEGL from dated libGL on OSXJeremy Huddleston2010-01-031-4/+0
| | | | Signed-off-by: Jeremy Huddleston <[email protected]>
* i810: Fix include recursion.Vinson Lee2010-01-021-1/+0
|
* sis: ifdef out unused variable.Vinson Lee2010-01-021-0/+2
| | | | Silences GCC warning.
* x86: Silence printf format warnings.Vinson Lee2010-01-011-12/+2
|
* ARB prog parser: Silence unused variable warnings.Vinson Lee2010-01-011-0/+4
|
* swrast: use different temp array in _swrast_get_dest_rgba()Brian Paul2009-12-311-7/+3
| | | | | When using multiple color drawbuffers with blending/logicop/masking we were overwriting color values which we still needed.
* mesa: Silence unused variable warning.Vinson Lee2009-12-311-0/+1
|
* st/mesa: add PIPE_FORMAT_Z24S8_UNORM in st_get_format_info()Brian Paul2009-12-291-1/+2
| | | | | Fixes progs/demos/fbotexture on Nouveau. Patch submitted by Luca Barbieri <[email protected]>.
* tdfx: Silence uninitialized variable warning.Vinson Lee2009-12-291-1/+1
|
* mesa: Initialize variable in get_tex_color_index.Vinson Lee2009-12-291-1/+1
|
* glsl: added uniform initializer checkBrian Paul2009-12-293-0/+12
| | | | | | | | | GLSL 1.10 disallows initializers for uniforms but GLSL 1.20 and later allows them. This patch uses the #version directive to allow/disallow uniform initializers. This addresses bug 25807, but piglit also needs to be fixed to specify the GLSL version in the shader.
* ARB prog parser: use _mesa_add_unnamed_constant() to use fewer constant slotsBrian Paul2009-12-294-295/+377
| | | | | | | | | This function will search the constant parameters in an effort to re-use constant slots. For example, {1,2,3,4} and {4,1,1,2} can be stored in one constant slot and accessed with different swizzles. The swizzle info must be propogated though the parsing code in a few places. Fixes Piglit "vpfp-generic tests/shaders/generic/big-param.vpfp" failure.
* intel: Silence compiler warnings.Vinson Lee2009-12-289-14/+16
|
* Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul2009-12-276-3/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_network.c src/gallium/auxiliary/util/u_network.h src/gallium/drivers/i915/i915_state.c src/gallium/drivers/trace/tr_rbug.c src/gallium/state_trackers/vega/bezier.c src/gallium/state_trackers/vega/vg_context.c src/gallium/state_trackers/xorg/xorg_crtc.c src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/xlib/xlib_brw_context.c src/mesa/main/mtypes.h
| * mesa: Remove comma at end of enumerator list.Vinson Lee2009-12-261-1/+1
| |
| * i915: Fix assert.Vinson Lee2009-12-261-1/+1
| |
| * intel: Silence implicit function declaration warning.Vinson Lee2009-12-251-0/+1
| |
| * i965: Fix assert.Vinson Lee2009-12-241-1/+1
| |
| * i965: Add missing va_end.Vinson Lee2009-12-241-0/+1
| |
| * glsl: Initialize member a_obj of struct slang_operation.Vinson Lee2009-12-231-0/+1
| |
| * ffb: Silence compiler warnings.Vinson Lee2009-12-221-1/+1
| |
| * mesa: set version string to 7.6.1mesa_7_6Ian Romanick2009-12-211-1/+1
| |
| * mesa: Fix missing finite symbol error on Windows.José Fonseca2009-12-211-2/+1
| | | | | | | | | | | | Caused by some weird logic regarding the __WIN32__ define which made the finite definition dependent on the header include order. (cherry picked from commit 622bdecabd73167d2f2f3aff0e223a8c64433f99)
| * mesa: Include <unistd.h> only when one is available.Michal Krol2009-12-212-0/+8
| | | | | | | | (cherry picked from commit 970823978c2f7d2cf0757aa6ddbd6289b34c476f)