summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* nvc0: update user vbufs on each draw callChristoph Bumiller2011-01-154-37/+119
| | | | This is required in case set_vertex_buffers is not called again.
* nvc0: enable early fragment tests where possibleChristoph Bumiller2011-01-153-2/+13
|
* nvc0: upload small buffers through the command bufferChristoph Bumiller2011-01-151-0/+6
|
* 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.
* targets/egl-static: Assorted cleanups and fixes.Chia-I Wu2011-01-151-12/+12
| | | | | | Share more code between windows and non-windows platforms. Check env['x11'] for X11 and add env['X11_LIBS'] to LIBS. Add ws_wrapper for i965g.
* targets/egl: i965 needs libwsw.Chia-I Wu2011-01-151-1/+2
| | | | Fix undefined symbol wrapper_sw_winsys_dewrap_pipe_screen.
* 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
|
* glsl: fix implicit int to bool warningBrian Paul2011-01-141-1/+1
| | | | Maybe preprocess() should return a bool.
* 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-1412-5722/+6024
|
* glapi: Add entrypoints and enums for GL_ARB_ES2_compatibility.Eric Anholt2011-01-143-0/+61
|
* r600g: compiler helper opcode fixes for evergreenAlex Deucher2011-01-142-120/+269
| | | | Signed-off-by: Alex Deucher <[email protected]>
* r600g: pass r600_bc to some addition compiler helper functionsAlex Deucher2011-01-141-55/+62
| | | | | | needed for asic specific opcodes Signed-off-by: Alex Deucher <[email protected]>
* generate_builtins.py: Whitespace fixes.Vinson Lee2011-01-141-7/+7
| | | | Also removed unnecessary semicolons.
* generate_builtins.py: Fix builds using Python 2.5.Vinson Lee2011-01-141-0/+2
|
* 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
|
* r600g: Disable V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR case.Vinson Lee2011-01-141-0/+2
| | | | | | The usage of macro V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR was introduced by commit 323ef3a1f07ba4333dadebab571ddcd49d95f45c but the macro is undefined. Disable this case to fix the build for now.
* gles2: Also support GL_BGRA_EXT for glTexSubImage2dKristian Høgsberg2011-01-141-0/+8
|
* r600g: add more missing instructions to r600_bc_get_num_operandsChristian König2011-01-141-1/+5
|
* egl: Fix EGL_VERSION string.Chia-I Wu2011-01-141-1/+1
| | | | Fix a copy-and-paste error in a4a38dcf61f141297a083ccac217200947d57b0d.
* egl: Fix an assertion in _eglUpdateAPIsString.Chia-I Wu2011-01-141-1/+1
| | | | dpy->ClientAPIs was renamed in a4a38dcf61f141297a083ccac217200947d57b0d.
* 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.
* r600g: Move declaration before code in r600_asm.c.Vinson Lee2011-01-131-1/+3
| | | | Fixes SCons build.
* r600g: rework literal handlingChristian König2011-01-135-277/+151
|
* r600g: merge alu groupsChristian König2011-01-132-37/+150
|
* r600g: implement replacing gpr with pv and psChristian König2011-01-133-5/+63
|
* glsl: Emit errors or warnings when 'layout' is used with 'attribute' or ↵Ian Romanick2011-01-131-0/+46
| | | | | | | | | | | | | | | | | | 'varying' The specs that add 'layout' require the use of 'in' or 'out'. However, a number of implementations, including Mesa, shipped several of these extensions allowing the use of 'varying' and 'attribute'. For these extensions only a warning is emitted. This differs from the behavior of Mesa 7.10. Mesa 7.10 would only accept 'attribute' with 'layout(location)'. This behavior was clearly wrong. Rather than carrying the broken behavior forward, we're just doing the correct thing. This is related to (piglit) bugzilla #31804. NOTE: This is a candidate for the 7.9 and 7.10 branches.
* glsl: Allow 'in' and 'out' when 'layout' is also availableIan Romanick2011-01-131-2/+5
| | | | | | | | | All of the extensions that add the 'layout' keyword also enable (and required) the use of 'in' and 'out' with shader globals. This is related to (piglit) bugzilla #31804. NOTE: This is a candidate for the 7.9 and 7.10 branches.
* scons: Fix cross-compilation.José Fonseca2011-01-132-30/+42
| | | | Hairy stuff. Don't know how to do it better though.
* r600g: add missing RECIPSQRT_CLAMPED to r600_bc_get_num_operandsChristian König2011-01-131-0/+1
|
* r600g: rework bank swizzle codeChristian König2011-01-132-183/+174
|
* r600g: fix alu slot assignmentChristian König2011-01-131-15/+167
|
* r600g: optimize away CF ALU instructions even if type doesn't matchChristian König2011-01-131-3/+16
|
* nvc0: identify POINT_RASTER_RULES, add POINT_SMOOTH stateChristoph Bumiller2011-01-134-19/+42
| | | | | | Point smoothing requires rasterization rules to be set to OGL. Sorry for the extra noise caused by the header update.
* draw: Fix an off-by-one bug in a vsplit assertion.Chia-I Wu2011-01-141-1/+2
| | | | | | | | When use_spoken is true, istart (the first vertex of this segment) is replaced by i0 (the spoken vertex of the fan). There are still icount vertices. Thanks to Brian Paul for spotting this.
* i965: Remove unnecessary headers.Vinson Lee2011-01-131-2/+0
|
* targets/egl-static: Remove unnecessary header.Vinson Lee2011-01-131-1/+0
|