summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* llvmpipe: better triangle debuggingKeith Whitwell2010-08-252-19/+67
|
* llvmpipe: cull zero-area triangles earlyKeith Whitwell2010-08-251-2/+3
|
* llvmpipe: more rasterization countersKeith Whitwell2010-08-253-6/+29
|
* llvmpipe: move some fence functions into lp_screen.cKeith Whitwell2010-08-254-57/+79
|
* llvmpipe: wake all threads waiting on a fenceKeith Whitwell2010-08-251-1/+3
|
* llvmpipe: fence debugging, add llvmpipe_finishKeith Whitwell2010-08-2513-65/+74
|
* tgsi: helper for dumping tokens as hexKeith Whitwell2010-08-252-13/+25
|
* draw: specialized cliptesting routinesKeith Whitwell2010-08-2513-208/+269
|
* util: add rectangle helpers to u_rect.hKeith Whitwell2010-08-251-4/+53
| | | | | | This begins a process of repurposing this file. The existing usage is as a header file for some software blit fallbacks, which should be moved to a more appropriately named header.
* gallium/docs: notes on scissor stateKeith Whitwell2010-08-251-1/+3
|
* llvmpipe: remove dead codeKeith Whitwell2010-08-251-37/+0
|
* draw: Remove UNDEFINED_VERTEX_ID checks in emit pathes.Chia-I Wu2010-08-253-28/+0
| | | | | | UNDEFINED_VERTEX_ID is used by draw_pipe_vbuf to decide whether a vertex has been emitted or not. The non-pipeline pathes do not use it (they tell the frontend the max vertex count when prepare() is called).
* gallium: Use draw_set_index_buffer and others.Chia-I Wu2010-08-2517-172/+80
| | | | | | Update all drivers to use draw_set_index_buffer, draw_set_mapped_index_buffer, and draw_vbo. Remove draw_set_mapped_element_buffer and draw_set_mapped_element_buffer_range.
* svga: Remove redundant svga_draw_range_elements.Chia-I Wu2010-08-253-87/+45
| | | | | | | That is, implement draw_vbo directly. As a result, svga_swtnl_draw_range_elements is also replaced by svga_swtnl_draw_vbo. This commit should not have any functional change.
* draw: Add draw_set_index_buffer and others.Chia-I Wu2010-08-255-31/+104
| | | | | | | | | This commit adds draw_set_index_buffer, draw_set_mapped_index_buffer, and draw_vbo. The idea behind the new functions is that an index buffer should be a state. draw_arrays and draw_set_mapped_element_buffer are preserved, but the latter will be removed soon.
* nvfx: Clean up header file inclusion in nvfx_screen.h.Vinson Lee2010-08-251-2/+2
| | | | | | | Remove nvfx_context.h. Include p_compiler.h for INLINE symbol. Fixes nvfx_context.h -> nvfx_screen.h -> nvfx_context.h include recursion.
* nvfx: Include missing headers in nvfx_shader.h.Vinson Lee2010-08-251-0/+4
| | | | | Include stdint.h for uint8_t symbol. Include p_compiler.h for INLINE symbol.
* i965: Remove unnecessary header.Vinson Lee2010-08-251-1/+0
|
* r600: Include missing header in evergreen_fragprog.c.Vinson Lee2010-08-251-0/+1
| | | | | | | | | Include r600_emit.h for r600EmitShader and r600EmitShaderConsts symbols. Fixes the following GCC warnings. evergreen_fragprog.c: In function 'evergreenSetupFragmentProgram': evergreen_fragprog.c:521: warning: implicit declaration of function 'r600EmitShader' evergreen_fragprog.c:778: warning: implicit declaration of function 'r600EmitShaderConsts'
* r600: Include missing header in evergreen_vertprog.c.Vinson Lee2010-08-251-0/+1
| | | | | | | | Include r600_emit.h for r600EmitShader and r600EmitShaderConsts symbols. Fixes the following GCC warnings. evergreen_vertprog.c:614: warning: implicit declaration of function 'r600EmitShader' evergreen_vertprog.c:701: warning: implicit declaration of function 'r600EmitShaderConsts'
* gallivm: Include missing header in lp_bld_sample.h.Vinson Lee2010-08-241-0/+2
| | | | Include p_format.h for enum pipe_format symbol.
* gallivm: Include missing header in lp_bld_pack.h.Vinson Lee2010-08-241-0/+2
| | | | Include p_compiler.h for boolean symbol.
* r300/compiler: Silence uninitialized variable warning.Vinson Lee2010-08-241-5/+11
| | | | | | | | | | | | The variable loops would be used uninitialized if it ever processed a RC_OPCODE_ENDLOOP case first. This patch initalizes the loops variable to NULL and adds an assert at the RC_OPCODE_ENDLOOP case that loops isn't NULL. Silence the following GCC warning. r3xx_vertprog.c: In function 'translate_vertex_program': r3xx_vertprog.c:469: warning: 'loops' may be used uninitialized in this function
* r300g: Add missing comma in SConscript.Vinson Lee2010-08-241-1/+1
| | | | | | | This is a follow-on patch to commit 574ba4b5f50bfe661427327cd792a8a200559376. Fixes r300g SCons build.
* r300g: fix gl_PointCoordMarek Olšák2010-08-251-2/+7
| | | | | Is this hackish or is this the correct way to use point_quad_rasterization? Copied from nvfx.
* r600: Include missing header in evergreen_render.c.Vinson Lee2010-08-241-0/+1
| | | | | | Fixes the following GCC warning. evergreen_render.c: In function 'evergreenTryDrawPrims': evergreen_render.c:836: error: implicit declaration of function 'evergreenSetupFragmentProgram'
* r600: Remove unused variable.Vinson Lee2010-08-241-1/+0
| | | | | | Silences the following GCC warning. evergreen_state.c: In function 'evergreenSetBlendState': evergreen_state.c:341: warning: unused variable 'id'
* i965: Fix printf format warnings on 32-bit builds.Vinson Lee2010-08-241-4/+4
|
* r600: Remove unused variable.Vinson Lee2010-08-241-1/+0
| | | | | | Fixes the following GCC warning. r600_emit.c In function 'r600AllocShaderConsts': r600_emit.c:59: warning: unused variable 'out'
* r600: Remove spaces between backslash and newline.Vinson Lee2010-08-241-2/+2
| | | | | | Fixes the following GCC warnings. r600_cmdbuf.h:201: warning: backslash and newline separated by space r600_cmdbuf.h:202: warning: backslash and newline separated by space
* r300g: eliminate unused constants in FSMarek Olšák2010-08-253-7/+32
|
* r300g: eliminate unused constants in VSMarek Olšák2010-08-255-8/+31
|
* r300g: clean up some mess in set_constant_bufferMarek Olšák2010-08-252-22/+1
|
* r300g: fix indentationMarek Olšák2010-08-252-8/+8
|
* r300/compiler: implement elimination of unused constantsMarek Olšák2010-08-258-1/+189
| | | | | Wine likes to create a *lot* of constants, exceeding the size of the constant file in hw.
* r300/compiler: terminate vertex shader compilation immediately after an errorMarek Olšák2010-08-251-36/+56
| | | | Also rename "compiler" to "c".
* r300/compiler: fail to compile if we hit hw limits or an unimplemented featureMarek Olšák2010-08-253-0/+62
| | | | | i.e. relative addressing (mainly FS), saturate modifiers, exceeding the maximum number of constants.
* r300/compiler: handle indexable temporaries correctly in deadcode eliminationMarek Olšák2010-08-251-1/+30
|
* r300/compiler: disable register allocation for indexable temporaries in VSMarek Olšák2010-08-251-5/+25
| | | | | | | If there is relative addressing of temporaries, we cannot change register indices, so skip register allocation entirely. To utilize register allocation at least partially, we need separate indexable and non-indexable register files in both TGSI and Mesa IR.
* r300g: reset the index bias to 0 at the end of CSMarek Olšák2010-08-254-5/+12
|
* ir_to_mesa: set IndirectRegisterFilesMarek Olšák2010-08-251-0/+8
| | | | | | | This fixes relative addressing of temporaries (and maybe others) in all gallium drivers. Acked on irc by Eric Anholt.
* nvfx: Initialize variables on error path.Vinson Lee2010-08-241-0/+4
|
* glsl: Set up uniform initializers by walking the shaders after linking.Eric Anholt2010-08-243-122/+181
| | | | | | | | | | | | | Previously, uniform initializers were handled by ir_to_mesa as it made its Parameters list. However, uniform values are global to all shaders, and the value set in one Parameters list wasn't propagated to the other gl_program->Parameters lists. By going back through the general Mesa uniform handling, we make sure that all gl_programs get updated values, and also successfully separate uniform initializer handling from ir_to_mesa gl_program generation. Fixes: glsl-uniform-initializer-5.
* glsl: Don't dead-code eliminate a uniform initializer.Eric Anholt2010-08-241-0/+8
| | | | Partial fix for glsl-uniform-initializer-5.
* r300g: rename radeong_dri.so to r300_dri.soDave Airlie2010-08-254-5/+5
| | | | acked on irc by Corbin + Marek.
* make: Use C++ compiler to link stdc++ library.Brian Paul2010-08-243-5/+8
| | | | | glxinfo and glxgears run on swrast and softpipe without undefined symbol errors.
* configs: Remove -lstdc++ from default.Vinson Lee2010-08-241-1/+1
| | | | | | This patch undoes commit 9b7480cd95c2d1259e23bfb5549cefaa94ebaca1. A follow-on patch will provide the proper fix.
* r600g: Add support for PIPE_FORMAT_R32_FLOAT.Henri Verbeet2010-08-241-0/+3
|
* prog_execute: Implement OPCODE_TXLIan Romanick2010-08-241-0/+16
| | | | Fixes bugzilla #29628
* glsl2: rename local variable_entry classBrian Paul2010-08-241-17/+22
| | | | | | | | | With MSVC it seems that this class and its constructor is colliding with the one in ir_variable_refcount.cpp. Rename the class here to avoid the collision. This is a bit of a hack. Can the two variable_entry classes be merged and shared?