summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* mesa: support for GL_ARB_instanced_arraysBrian Paul2011-01-155-3/+73
|
* glapi: regenerated filesBrian Paul2011-01-153-2667/+2688
|
* st/mesa: move/consolidate an assignmentBrian Paul2011-01-151-2/+1
|
* Merge branch 'draw-instanced'Brian Paul2011-01-1511-9/+80
|\ | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_llvm.c src/gallium/drivers/llvmpipe/lp_state_fs.c src/glsl/ir_set_program_inouts.cpp src/mesa/tnl/t_vb_program.c
| * mesa: enable GL_ARB_draw_instanced for software driversBrian Paul2010-12-101-0/+1
| |
| * tnl: implement instanced drawingBrian Paul2010-12-103-9/+19
| |
| * mesa: implement system values in program interpreterBrian Paul2010-12-102-0/+5
| |
| * st/mesa: translate shader system inputsBrian Paul2010-12-081-0/+27
| |
| * mesa: ir_to_mesa support for system valuesBrian Paul2010-12-081-0/+5
| |
| * mesa: program printing for PROGRAM_SYSTEM_VALUEBrian Paul2010-12-081-0/+5
| |
| * mesa: add PROGRAM_SYSTEM_VALUE and related tokensBrian Paul2010-12-081-0/+14
| | | | | | | | | | | | System values are shader inputs which don't necessarily change from vertex to vertex or fragment to fragment. gl_InstanceID and gl_FrontFacing are examples.
| * st/mesa: GL_ARB_draw_instanced depends on PIPE_CAP_INSTANCED_DRAWINGBrian Paul2010-12-051-0/+4
| |
* | mesa: Add glDepthRangef and glClearDepthf to APIspec.xml.Chia-I Wu2011-01-151-0/+2
| | | | | | | | | | Core mesa has gained support for GL_ARB_ES2_compatibility. Make GLES generated dispatch table use them.
* | mesa: Add getter for GL_SHADER_COMPILER with ARB_ES2_compatibility.Eric Anholt2011-01-141-0/+1
| | | | | | | | Fixes piglit arb_es2_compatibility-shadercompiler
* | mesa: Add getters for ARB_ES2_compatibility MAX_*_VECTORS.Eric Anholt2011-01-141-0/+9
| | | | | | | | Fixes piglit arb_es2_compatibility-maxvectors.
* | mesa: Add support for glDepthRangef and glClearDepthf.Eric Anholt2011-01-145-1/+21
| | | | | | | | | | These are ARB_ES2_compatibility float variants of the core double entrypoints. Fixes arb_es2_compatibility-depthrangef.
* | ir_to_mesa: Fix segfaults on ir_to_mesa invocation after MSVC change.Eric Anholt2011-01-141-6/+6
| |
* | mesa: Dynamically allocate acp array in ir_to_mesa_visitor::copy_propagate.Vinson Lee2011-01-141-2/+4
| | | | | | | | | | | | | | | | | | | | Fixes these MSVC errors. ir_to_mesa.cpp(2644) : error C2057: expected constant expression ir_to_mesa.cpp(2644) : error C2466: cannot allocate an array of constant size 0 ir_to_mesa.cpp(2644) : error C2133: 'acp' : unknown size ir_to_mesa.cpp(2646) : error C2070: 'ir_to_mesa_instruction *[]': illegal sizeof operand ir_to_mesa.cpp(2709) : error C2070: 'ir_to_mesa_instruction *[]': illegal sizeof operand ir_to_mesa.cpp(2718) : error C2070: 'ir_to_mesa_instruction *[]': illegal sizeof operand
* | mesa: Add actual support for glReleaseShaderCompiler from ES2.Eric Anholt2011-01-141-2/+5
| | | | | | | | | | Fixes no-op dispatch warning in piglit arb_es2_compatibility-releaseshadercompiler.c.
* | intel: Expose GL_ARB_ES2_compatibility.Eric Anholt2011-01-141-0/+2
| | | | | | | | | | | | | | | | We don't have all of the features of this extension hooked up yet, but the consensus yesterday was that since those features are things that we should also be supporting in our ES2 implementation, claiming ES2 here too doesn't make anything worse and will make incremental improvement through piglit easier.
* | mesa: Add extension enable bit for GL_ARB_ES2_compatibility.Eric Anholt2011-01-142-0/+2
| |
* | glapi: Regenerate for GL_ARB_ES2_compatibility.Eric Anholt2011-01-143-2522/+2584
| |
* | i965: Replace broken handling of dead code with an assert.Eric Anholt2011-01-141-10/+12
| | | | | | | | | | | | This code should never have been triggered, but I often did anyway when I disabled optimization passes during debugging, then spent my time debugging that this code doesn't work.
* | i965: Add an invalidation of live intervals after register splitting.Eric Anholt2011-01-141-0/+1
| | | | | | | | No effect, since it was called before live intervals were calculated.
* | mesa: Simplify _mesa_base_fbo_format by making it exceptions to teximages.Eric Anholt2011-01-141-43/+24
| | | | | | | | | | | | The comment of "this is just like teximages except for..." is a pretty good clue that we're handling this wrong. By just using the teximage code, we catch a bunch of cases we'd missed, like GL_RED and GL_RG.
* | mesa: Add channel-wise copy propagation to ir_to_mesa.Eric Anholt2011-01-141-0/+129
| | | | | | | | | | | | | | | | This catches more opportunities than the prog_optimize.c code on openarena's fixed function shaders turned to GLSL, mostly due to looking at multiple source instructions for copy propagation opportunities. It should also be much more CPU efficient than prog_optimize.c's code.
* | i915: Fix compiler warning from sw fallback removal change.Eric Anholt2011-01-141-1/+1
| |
* | gles2: Also support GL_BGRA_EXT for glTexSubImage2dKristian Høgsberg2011-01-141-0/+8
| |
* | i965: fix fbo-srgb on i965.Dave Airlie2011-01-141-0/+5
| | | | | | | | | | | | | | Until we get the EXT_framebuffer_sRGB extension we should bind the sRGB formats for FBO as linear. Signed-off-by: Dave Airlie <[email protected]>
* | srgb: fix fbo base format picking.Dave Airlie2011-01-141-1/+1
| | | | | | | | Pointed out by Brian.
* | i915: Disable extension OES_standard_derivativesChad Versace2011-01-131-0/+13
| | | | | | | | | | OES_standard_derivatives must be manually disabled for i915 because Mesa enables it by default.
* | mesa: Change OES_standard_derivatives to be stand-alone extensionChad Versace2011-01-132-1/+3
| | | | | | | | | | | | | | | | Add a bit in struct gl_extensions for OES_standard_derivatives, and enable the bit by default. Advertise the extension only if the bit is enabled. Previously, OES_standard_derivatives was advertised in GLES2 contexts if ARB_framebuffer_object was enabled.
* | i965: Remove unnecessary headers.Vinson Lee2011-01-131-2/+0
| |
* | mesa: Add missing break statement in SARGB8 case.Vinson Lee2011-01-131-0/+1
| |
* | dri_util: fail driCreateNewScreen if InitScreen is NULLPaulo Zanoni2011-01-131-0/+3
| | | | | | | | | | | | | | | | | | Without this, X doesn't start with UMS on r300g. NOTE: This is a candidate for the 7.9 and 7.10 branches. Signed-off-by: Paulo Zanoni <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* | mesa/srgb: handle SARGB8 case in the sw fbo renderer.Dave Airlie2011-01-131-0/+4
| |
* | st/mesa: fix a regression from cae2bb76Fredrik Höglund2011-01-131-2/+1
| | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
* | mesa/fbo: prevent assert trigger on i965 with piglit fbo-srgb test.Dave Airlie2011-01-131-0/+2
| |
* | mesa: Move loop variable declarations outside for loop in extensions.c.Vinson Lee2011-01-121-8/+15
| | | | | | | | Fixes MSVC build.
* | mesa: check for dummy renderbuffer in _mesa_FramebufferRenderbufferEXT()Brian Paul2011-01-121-0/+7
| | | | | | | | | | | | | | | | 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.
* | mesa: don't assert in GetIntegerIndexed, etcBrian Paul2011-01-121-6/+12
| | | | | | | | | | | | We were getting an assertion upon invalid pname. NOTE: This is a candidate for the 7.9 and 7.10 branches.
* | mesa: fix num_draw_buffers==0 in fixed-function fragment program generationBrian Paul2011-01-121-2/+2
| | | | | | | | | | | | | | | | 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.
* | st/mesa: add st_BeginQuery() case for GL_ANY_SAMPLES_PASSEDBrian Paul2011-01-121-0/+2
| | | | | | | | Fixes piglit occlusion_query2 failure.
* | mesa: Move declaration before code in extensions.c.Vinson Lee2011-01-121-6/+16
| | | | | | | | Fixes SCons build.
* | mesa: Change OES_point_sprite to depend on ARB_point_spriteChad Versace2011-01-121-1/+1
| | | | | | | | | | | | | | | | 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 <[email protected]>
* | mesa: Change dependencies of some OES extension stringsChad Versace2011-01-121-5/+5
| | | | | | | | | | | | | | Change all OES extension strings that depend on ARB_framebuffer_object to instead depend on EXT_framebuffer_object. Reviewed-by: Ian Romanick <[email protected]>
* | mesa: Add/remove extensions in extension stringChad Versace2011-01-121-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
* | mesa: Refactor handling of extension stringsChad Versace2011-01-122-490/+406
| | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* | i965/fs: Do flat shading when appropriate.Eric Anholt2011-01-122-20/+42
| | | | | | | | | | We were trying to interpolate, which would end up doing unnecessary math, and doing so on undefined values. Fixes glsl-fs-flat-color.
* | meta: Actually use mipmapping when generating mipmaps.Eric Anholt2011-01-121-1/+1
| | | | | | | | | | | | | | | | 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 <[email protected]>