summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-01-13mesa/srgb: handle SARGB8 case in the sw fbo renderer.Dave Airlie
2011-01-13st/mesa: fix a regression from cae2bb76Fredrik Höglund
stObj->pt is null when a TFP texture is passed to st_finalize_texture, and with the changes introduced in the above commit this resulted in a new texture being created and the existing image being copied into it. NOTE: This is a candidate for the 7.10 branch. Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
2011-01-13nvc0: disable calling of sw methods we don't implementBen Skeggs
Left in the code as a marker of what NVIDIA do, just in case we need to do this some day. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-01-13mesa/fbo: prevent assert trigger on i965 with piglit fbo-srgb test.Dave Airlie
2011-01-13nvc0: fix mp_stack_bo relocationBen Skeggs
Fixes a PT_NOT_PRESENT error cause by: - allocating in VRAM - emitting GART relocs to 0x17bc/0x17c0, moving the buffer - telling the bufmgr that the buffer should be in VRAM when we use it, but not correcting the value sent to 0x17bc/0x17c0. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-01-12mesa: Move loop variable declarations outside for loop in extensions.c.Vinson Lee
Fixes MSVC build.
2011-01-12mesa: check for dummy renderbuffer in _mesa_FramebufferRenderbufferEXT()Brian Paul
Fixes a failed assertion when a renderbuffer ID that was gen'd but not previously bound was passed to glFramebufferRenderbuffer(). Generate the same error that NVIDIA does. NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-01-12mesa: don't assert in GetIntegerIndexed, etcBrian Paul
We were getting an assertion upon invalid pname. NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-01-12mesa: fix num_draw_buffers==0 in fixed-function fragment program generationBrian Paul
This fixes a problem when glDrawBuffers(GL_NONE). The fragment program was writing to color output[0] but OutputsWritten was 0. That led to a failed assertion in the Mesa->TGSI translation code. NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-01-12st/mesa: add st_BeginQuery() case for GL_ANY_SAMPLES_PASSEDBrian Paul
Fixes piglit occlusion_query2 failure.
2011-01-12glsl: remove trailing comma to silence warningBrian Paul
2011-01-12noop: change var type to silence warningBrian Paul
2011-01-12glsl/Makefile: Fix build with --as-needed.Kenneth Graunke
2011-01-12mesa: Move declaration before code in extensions.c.Vinson Lee
Fixes SCons build.
2011-01-12mesa: Change OES_point_sprite to depend on ARB_point_spriteChad Versace
The extension string in GLES1 contexts always advertised GL_OES_point_sprite. Now advertisement depends on ARB_point_sprite being enabled. Reviewed-by: Ian Romanick <idr@freedesktop.org>
2011-01-12mesa: Change dependencies of some OES extension stringsChad Versace
Change all OES extension strings that depend on ARB_framebuffer_object to instead depend on EXT_framebuffer_object. Reviewed-by: Ian Romanick <idr@freedesktop.org>
2011-01-12mesa: Add/remove extensions in extension stringChad Versace
Add GL_OES_stencil8 to ES2. Remove the following: GL_OES_compressed_paletted_texture : ES1 GL_OES_depth32 : ES1, ES2 GL_OES_stencil1 : ES1, ES2 GL_OES_stencil4 : ES1, ES2 Mesa advertised these extensions, but did not actually support them. Reviewed-by: Ian Romanick <idr@freedesktop.org>
2011-01-12mesa: Refactor handling of extension stringsChad Versace
Place GL, GLES1, and GLES2 extensions in a unified extension table. This allows one to enable, disable, and query the status of GLES1 and GLES2 extensions by name. When tested on Intel Ironlake, this patch did not alter the extension string [as given by glGetString(GL_EXTENSIONS)] for any API. Reviewed-by: Ian Romanick <idr@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com>
2011-01-12glsl: Track variable usage, use that to enforce semanticsIan Romanick
In particular, variables cannot be redeclared invariant after being used. Fixes piglit test invariant-05.vert and bugzilla #29164. NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-01-12i965/fs: Do flat shading when appropriate.Eric Anholt
We were trying to interpolate, which would end up doing unnecessary math, and doing so on undefined values. Fixes glsl-fs-flat-color.
2011-01-12r600g: also look at tex inst when for maximum gpu countChristian König
2011-01-12generate_builtins.py: Add missing import.Vinson Lee
Import sys for sys.exit.
2011-01-12meta: Actually use mipmapping when generating mipmaps.Eric Anholt
With the change to not reset baselevel, this GL_LINEAR filtering was resulting in generating mipmaps off of the base level instead of the next higher detail level. Fixes fbo-generatemipmap-filtering. Reported by: Neil Roberts <neil@linux.intel.com>
2011-01-12i965: Clarify when we need to (re-)calculate live intervals.Eric Anholt
The ad-hoc placement of recalculation somewhere between when they got invalidated and when they were next needed was confusing. This should clarify what's going on here.
2011-01-12r600g: implement output modifiers and use them to further optimize LRPChristian König
2011-01-12r600g: use special constants for 0, 1, -1, 1.0f, 0.5f etcChristian König
2011-01-12r600g: optimize temp register handling for LRPChristian König
2011-01-12r600g: optimize away CF_INST_POPChristian König
If last instruction is an CF_INST_ALU we don't need to emit an additional CF_INST_POP for stack clean up after an IF ELSE ENDIF.
2011-01-12r600g: make dumping of shaders an optionChristian König
2011-01-12r600g: fix alu dumpingChristian König
2011-01-12r600g: improve r600_bc_dumpChristian König
2011-01-12i965/vs: When MOVing to produce ABS, strip negate of the operand.Eric Anholt
We were returning the negative absolute value, instead of the absolute value. Fixes glsl-vs-abs-neg.
2011-01-12i965/fs: When producing ir_unop_abs of an operand, strip negate.Eric Anholt
We were returning the negative absolute value, instead of the absolute value. Fixes glsl-fs-abs-neg.
2011-01-12glsl: Make builtin_compiler build on Windows with MSVC.José Fonseca
2011-01-12glsl: Make builtin_compiler portable for non-unices.José Fonseca
2011-01-12getopt: Make code more portable.José Fonseca
2011-01-12getopt: Import OpenBSD getopt implementation for MSVC.José Fonseca
2011-01-12scons: Update windows build for vgapi->openvg rename.José Fonseca
2011-01-12scons: Fix build on systems without libOpenVG.soJosé Fonseca
2011-01-12egl: When EGL_DRIVER is set, do not add other drivers.Chia-I Wu
Setting EGL_DRIVER forces the driver to be loaded, as documented. There should be no fallbacks.
2011-01-12egl: libEGL depends on LOCAL_LIBS.Chia-I Wu
So that libEGL is rebuilt whenever LOCAL_LIBS changes.
2011-01-12egl_dri2: Fix eglGetProcAddress.Chia-I Wu
The driver struct is zeroed after dri2_load. Oops.
2011-01-12scons: Updates for targets/egl-static.Chia-I Wu
Update SConscripts to re-enable or add support for EGL on windows and x11 platforms respectively. targets/egl-gdi is replaced by targets/egl-static, where "-static" means pipe drivers and state trackers are linked to statically by egl_gallium, and egl_gallium is a built-in driver of libEGL. There is no more egl_gallium.dll on Windows.
2011-01-12targets/egl-static: New EGL target for scons.Chia-I Wu
This target is based on and replaces egl-gdi. It is suitable for both windows and x11.
2011-01-11glsl: Add type inference support for remaining expression opcodes.Kenneth Graunke
2011-01-11i965: Tighten up the check for flow control interfering with coalescing.Eric Anholt
This greatly improves codegen for programs with flow control by allowing coalescing for all instructions at the top level, not just ones that follow the last flow control in the program.
2011-01-12r600g: texture instructions also work fine with TGSI_FILE_INPUTChristian König
2011-01-12r600g: DP4 also supports writemaskingChristian König
2011-01-12r600g: Why all this fiddling with tgsi_helper_copy?Christian König
tgsi_helper_copy is used on several occasions to copy a temporary result into the real destination register to emulate writemasks for OP3 and reduction operations. According to R600 ISA that's unnecessary. This patch fixes this use for MAD, CMP and DP4.
2011-01-12r600g: fix tex and vtx joiningChristian König