summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-01-05ARB prog parser: fix parameter binding typeBrian Paul
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.
2010-01-05ARB prog parser: regenerated parser filesBrian Paul
2010-01-05ARB prog parser: add allowSwizzle param to initialize_symbol_from_const()Brian Paul
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.
2010-01-05mesa: whitespace changes and commentsBrian Paul
2010-01-05mesa: change constant search behaviour in _mesa_add_unnamed_constant()Brian Paul
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.
2010-01-05nouveau: rewrite nouveau_stateobj to use BEGIN_RING properlyMaarten Maathuis
- The previous solution was hacky and didn't do subchannel autobinding. - The beheaviour should match what libdrm_nouveau does closely. - The solution remains statically sized, but when debugging is on it will check for abuse. Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
2010-01-05nouveau: kill nouveau_push.h and use libdrm versions of BEGIN_RINGs, etcMarcin Slusarz
2010-01-05nv50: remove vtxbuf stateobject after a referenced vtxbuf is mappedMaarten Maathuis
- This avoids problematic "reloc'ed while mapped" messages and some associated corruption as well. Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
2010-01-05svga: Remove stale references to delete shader results.José Fonseca
To ensure that a new result that happens to have the same address of the old one will be detected as a change.
2010-01-05svga: Rebind shaders when tokens change.José Fonseca
Even shader ID doesn't change. Otherwise the token change is not effective. This reverts regression from commit cdb445f3a9285e2d8f042a07021ade78b94e0156. Regression could be seen in Quake3's loading screen -- the upper right corner of the screen would be black.
2010-01-05Merge branch 'gallium-docs'Corbin Simpson
2010-01-05egl: Fix breakage from -fvisibility=hidden.Chia-I Wu
Mark EGL API and driver functions as PUBLIC. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-05docs: Don't check in generated docs.Corbin Simpson
Per ML discussion.
2010-01-05docs: Stub out list of modules in core distribution of G3D.Corbin Simpson
2010-01-05st/mesa: added PROGRAM_LOCAL_PARAM case in src_register()Brian Paul
Fixes piglit vpfp-generic arl.vpfp failure when using gallium.
2010-01-05Merge branch 'remove-intel-dri1'Kristian Høgsberg
* remove-intel-dri1: intel: intelScreenContext() is no longer used intel: Remove remaining dri2.enabled tests intel: Drop more cliprect bookkeeping intel: Remove struct intel_framebuffer intel: Remove client-side vblank code intel: Drop intelWindowMoved() intel: Drop batchbuffer cliprect_mode tracking intel: Drop DRI1 static regions intel: Use depth buffer from ctx.DrawBuffer in copypix_src_region() intel: Drop LOCK/UNLOCK_HARDWARE() intel: Drop DRI1 SwapBuffer implementation intel: Drop DRI1 CopySubBuffer implementation intel: Drop DRI1 support Push __driDriverExtensions out of dri_util.c and into the drivers Remove leftover __DRI{screen,drawable,context}Private references Check for libdrm_$chipset.pc when needed
2010-01-05mesa: bump version to 7.7.1-DEVELBrian Paul
2010-01-05Merge commit 'origin/gallium-draw-retval'Keith Whitwell
Conflicts: src/gallium/drivers/identity/id_context.c
2010-01-05r600: adjust after radeon mipmap changes in 7118db8700Andre Maasikas
R600_OUT_BATCH_RELOC doesn't really use offset so set it in TEX_RESOURCE2 + typo fix
2010-01-05r600: support depth compare functions & shadow_ambientAndre Maasikas
2010-01-05tgsi: Simplify implementation of few interpreter's instructions.Michal Krol
2010-01-05tgsi: Use FREE() to release MALLOC-ed() memories in sanity.Michal Krol
2010-01-05tgsi: Fix bogus loop condition in sanity.Michal Krol
2010-01-05tgsi: Treat MOV source operand as FLOAT so modifiers works as expected.Michal Krol
2010-01-05tgsi: Store ADDR file in interpreter as an int.Michal Krol
2010-01-05tgsi: Remove dead micro_umod().Michal Krol
2010-01-05tgsi: Make interpreter aware of float and integer data types.Michal Krol
Debug check for inf and nan only on float channels. Apply absolute and negate source operand modifiers based on opcode type.
2010-01-05gallium: Add UMOD TGSI opcode.Michal Krol
Either that or have UDIV have two destination operands.
2010-01-05gallium: Add SWITCH, CASE, DEFAULT and ENDSWITCH opcodes to TGSI.Michal Krol
Provide reference implementation of them in tgsi_exec. Note that BREAK opcode is overloaded and can be used to break out of either a loop or a switch-case statement.
2010-01-05tgsi/ureg: Improve immediate match & expand logic.Michal Krol
Do not pollute immediates with unsuccessfull attempts to expand them.
2010-01-05tgsi: Support signed/unsigned integer immediate types.Michal Krol
2010-01-05gallium: Add signed/unsigned int immediate data types.Michal Krol
2010-01-05tgsi: Cleanup interpreter code for other existing integer opcodes.Michal Krol
2010-01-05Remove TGSI_OPCODE_SHR, map existing usage to TGSI_OPCODE_ISHR.Michal Krol
This is to differentiate it from its unsigned version, TGSI_OPCODE_USHR.
2010-01-05tgsi: Implement new integer opcodes.Michal Krol
Update interpreter and ureg. Also, get rid of SHR -- it's actually an alias for ISHR.
2010-01-05gallium: Add more integer TGSI opcodes.Michal Krol
2010-01-04mesa: added _mesa_[Get]TexParameterI[u]iv() functionsBrian Paul
New in GL 3.0. Primarily meant for setting int/uint-valued texture border color. Not plugged into dispatch table yet.
2010-01-04mesa: make texture BorderColor a union of float/int/uintBrian Paul
When we have integer-valued texture formats, the texture border color must also store integer and uint values. With GL 3.0, the new glTexParameterIiv() and glTexParameterIuiv() functions can set the border color to int or uint values.
2010-01-04mesa: use get_texobj() in _mesa_GetTexParameter() funcsBrian Paul
2010-01-04Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: docs/relnotes.html src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/r300/r300_cs.h src/mesa/drivers/dri/i965/brw_wm_surface_state.c src/mesa/main/enums.c
2010-01-04mesa: add missing _mesa_lock_texture() callBrian Paul
2010-01-04i915: Use _MaxLevel on principle in texture setup.Eric Anholt
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.
2010-01-04intel: Fix CopyTexImage from tiled mipmap levels > 0.Eric Anholt
Fixes piglit fbo-copyteximage.
2010-01-04i965: Fix the surface offset calculation for tiled buffers.Eric Anholt
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.
2010-01-04r600: support vertex_array_bgraAndre Maasikas
Use vertex program key mechanism and swizzle during vertex fetch - is there a better way?
2010-01-04mesa: added GL_DU8DV8_ATI in extract_float_rgba()Brian Paul
Fixes warning seen with Shadowgrounds. See bug 24016.
2010-01-04mesa: Prevent possible array out-of-bounds access by _mesa_light.Vinson Lee
2010-01-04i965g: Fix assert.Vinson Lee
2010-01-04tgsi: Fix assert.Vinson Lee
2010-01-04Merge branch 'gallium-conditional-rendering'Brian Paul