summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-07-24ARB prog: Layout parameters from parameter type, not src typeIan Romanick
Use the type stored in the Parameters array to determine the layout instead of the type in the instruction register field. Also, update the instruction register field based on the parameter type. This makes Google Earth work exactly like with Mesa master.
2009-07-24ARB prog: _mesa_print_program output should go to same place as _mesa_printfIan Romanick
2009-07-24ARB prog parse: Fix cut-and-paste error for constant vectorsIan Romanick
2009-07-24ARB prog: get frag prog texture info from the right placeIan Romanick
This gets basic texturing working. w00t!
2009-07-22parser: Clean up a bunch of silly compiler warningsIan Romanick
2009-07-22parser: Track a few more frag prog related valuesIan Romanick
2009-07-22parser: Ensure that param_binding_type is set correctlyIan Romanick
2009-07-22GIT ignore program_parse.outputIan Romanick
2009-07-22parser: Set NumParametersIan Romanick
2009-07-22parser: Clean up generation of error strings during assemblyIan Romanick
2009-07-22parser: Initialize unused instruction source registersIan Romanick
The 965 driver expects unused source registers (e.g., SrcReg[2] of a DP3 instruction) to have a register file of PROGRAM_UNDEFINED. Initializing these source registers ensures that this happens.
2009-07-22parser: Anonymous constants come from the PROGRAM_CONSTANT fileIan Romanick
2009-07-20ARB_fp/vp: Initial import of new ARB vp/fp assemblerIan Romanick
This still needs quite a bit of work, but a bunch of the programs in progs/vp produce correct results.
2009-07-20Add new _mesa_new_parameter_list_sized to pre-allocate a parameter listIan Romanick
2009-07-20tgsi: get texturing working in vertex shader sse2 pathKeith Whitwell
Missing file from previous commit.
2009-07-20Merge branch 'mesa_7_5_branch'Michel Dänzer
2009-07-20radeon: With DRI1, if we have HW stencil, only expose fbconfigs with stencil.Michel Dänzer
Otherwise simple apps like glxgears pick up a DirectColor visual since the X server mixes the depth 32 visual in with the other GLX visuals, and this seems to result in a (mostly) black screen due to a bad ColorMap for a lot of people. The bad ColorMap may be a bug in the apps, the X server or X driver, and regardless of that I think the X server should ideally make the depth 32 GLX visual separate from the rest again, but in the meantime this makes us cope. (depth_bits is either 16 or 24, never 0)
2009-07-20tgsi: get texturing working in vertex shader sse2 pathKeith Whitwell
2009-07-20tgsi: fix regression in indexed const lookupsKeith Whitwell
This function was calling get_input_base() and get_output_base() to get the names of a couple of register to use as temps. Those functions no longer return registers, so adjust it to get the registers elsewhere. This change doesn't address the issue that it's a fairly poor way to grab a register name by calling a function with an apparently unrelated meaning.
2009-07-20r600: Fix compilationKevin DeKorte
2009-07-20R6xx/r7xx: Fix line stipple and width issueCooper Yuan
2009-07-20Add common_ppc.c to MESA_GALLIUM_SOURCES.Michel Dänzer
2009-07-20r300g: Fix SCons build.Michel Dänzer
2009-07-20gallium/trace: Fix SCons build.Michel Dänzer
2009-07-20r300g: Guard R500 register writes by is_r500 check.Michel Dänzer
Flagged by the DRM command stream checker. This allows the driver to work on non-R500 cards.
2009-07-18gallium: make g3dvl build againDave Airlie
2009-07-17Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: Makefile progs/glsl/multitex.c src/mesa/main/enums.c src/mesa/main/state.c src/mesa/main/texenvprogram.c src/mesa/main/version.h
2009-07-17R6xx/R7xx: add fine grained syncing supportAlex Deucher
2009-07-17R6xx/r7xx: send depth state in it's own functionAlex Deucher
2009-07-18st/egl: Fix broken build after EGL thread changesAndrew Randrianasulu
2009-07-17R200: fix build when RADEON_DEBUG_BO is setAlex Deucher
2009-07-18radeon: disable BO debugDave Airlie
2009-07-17progs/util: remove extfuncs.h (we use GLEW instead)Brian Paul
2009-07-17egl: commit missing eglcurrent.[ch] filesBrian Paul
Not sure how these got left out from earlier commit.
2009-07-17progs/glsl: finish conversion to GLEWBrian Paul
This is a follow-on to b799af91d5ffbee1481161fec29eb4c92b161272. Remove _func function suffix and unneeded #includes.
2009-07-17Merge branch 'master' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa ↵Alex Deucher
into r6xx-rewrite
2009-07-17R6xx/r7xx: warning fixesKevin DeKorte
patch from Kevin DeKorte with some minor fixes from me.
2009-07-17mesa: set version to 7.5Brian Paul
2009-07-17mesa: set version to 7.5Brian Paul
2009-07-17docs: set date for 7.5 releaseBrian Paul
2009-07-17xeglthreads: Check current context for EGL per-thread support.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-07-17egl: Remove redundant DeletePending flag.Chia-I Wu
A context or surface that is neither linked to a display nor current to a thread should be destroyed. Therefore, an unlinked context or surface implies a pending delete automatically. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-07-17egl: Destroy display's resources upon termination.Chia-I Wu
eglTerminate should destroy the contexts and surfaces of the display. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-07-17egl: Return the same EGL Display for the same native display.Chia-I Wu
The latest revision of the spec explicitly requires the same handle to be returned for the same native display. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-07-17egl: Use the link functions to manage resources.Chia-I Wu
This commit uses the newly introduced link functions to manage EGL contexts and surfaces. As a result of this, the API for drivers are changed. All drivers are updated for the change. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-07-17egl: Add funtions to link contexts and surfaces to displays.Chia-I Wu
EGL contexts and surfaces are resources of displays. They should be managed by displays. This commit adds a bunch of functions to egldisplay.c to help establish the links between contexts/surfaces and displays. How links are established is considered opaque outside display. Functions like _eglGetSurfaceHandle or _eglLookupSurface are therefore moved to egldisplay.c, with some small modifications. The idea is also extended to display. That is, displays need to link to themselves to be looked up. This commit only adds the functions. A commit to use them should follow. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-07-17egl: Extend per-thread info for multiple current contexts.Chia-I Wu
EGL allows multiple current contexts, as long as they are bound to different client APIs. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-07-17egl: Support per-thread info.Chia-I Wu
This commit introduces a "current" system to manage per-thread info. It uses TLS, if GLX_USE_TLS is defined, or pthread, if PTHREADS is defined. If none of them are defined, it uses a dummy implementation that is just like before. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-07-17egl: Add eglcompiler.h for compiler features.Chia-I Wu
Only INLINE (from mesa/main/compiler.h) is defined now. It may be used to deal with symbol visibility and int/pointer conversion in the future. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2009-07-17R6xx/r7xx: disable depth/stencil compression for nowAlex Deucher