summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* r600g: Remove the redundant radeon_new() prototype.Henri Verbeet2011-01-151-2/+0
|
* r600g: Fix some register value name typos.Henri Verbeet2011-01-154-6/+6
| | | | SFR -> SRF.
* r600g: Get rid of r600_translate_vertex_data_type().Henri Verbeet2011-01-152-270/+0
| | | | This has been replaced with r600_vertex_data_type().
* Merge branch 'draw-instanced'Brian Paul2011-01-1533-23/+347
|\ | | | | | | | | | | | | | | 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
| |
| * llvmpipe: enable instanced drawing capBrian Paul2010-12-081-0/+2
| |
| * softpipe: enable instanced drawing capBrian Paul2010-12-081-0/+2
| |
| * gallivm/llvmpipe: implement system values and instanceIDBrian Paul2010-12-084-5/+98
| |
| * st/mesa: translate shader system inputsBrian Paul2010-12-081-0/+27
| |
| * draw: setup instance ID for SSE generatorBrian Paul2010-12-081-0/+6
| |
| * draw: setup instance ID for VS interpreterBrian Paul2010-12-081-0/+6
| |
| * mesa: ir_to_mesa support for system valuesBrian Paul2010-12-081-0/+5
| |
| * glsl: add support for system values and GL_ARB_draw_instancedBrian Paul2010-12-086-2/+52
| |
| * 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.
| * tgsi/ppc: add case for system values and assertBrian Paul2010-12-081-1/+3
| |
| * tgsi/sse: add support for system valuesBrian Paul2010-12-081-3/+51
| |
| * tgsi: new tgsi_shader_info fields for system valuesBrian Paul2010-12-082-1/+22
| |
| * tgsi: add support for system values to TGSI interpreterBrian Paul2010-12-082-3/+23
| |
| * st/mesa: GL_ARB_draw_instanced depends on PIPE_CAP_INSTANCED_DRAWINGBrian Paul2010-12-051-0/+4
| |
| * gallium: added PIPE_CAP_INSTANCED_DRAWINGBrian Paul2010-12-052-0/+2
| |
* | nvc0: try to swap immediates to first source tooChristoph Bumiller2011-01-151-0/+7
| |
* | nvc0: make sure all sources of the BIND op are distinctChristoph Bumiller2011-01-153-0/+45
| | | | | | | | | | They're supposed to be assigned consecutive registers so they can't contain the same SSA value more than once.
* | 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.