Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: implement system values in program interpreter | Brian Paul | 2010-12-10 | 2 | -0/+5 |
| | |||||
* | st/mesa: translate shader system inputs | Brian Paul | 2010-12-08 | 1 | -0/+27 |
| | |||||
* | mesa: ir_to_mesa support for system values | Brian Paul | 2010-12-08 | 1 | -0/+5 |
| | |||||
* | mesa: program printing for PROGRAM_SYSTEM_VALUE | Brian Paul | 2010-12-08 | 1 | -0/+5 |
| | |||||
* | mesa: add PROGRAM_SYSTEM_VALUE and related tokens | Brian Paul | 2010-12-08 | 1 | -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_DRAWING | Brian Paul | 2010-12-05 | 1 | -0/+4 |
| | |||||
* | glsl: start restoring some geometry shader code | Brian Paul | 2010-11-23 | 1 | -0/+11 |
| | |||||
* | glsl: better handling of linker failures | Brian Paul | 2010-11-23 | 1 | -19/+33 |
| | | | | | Upon link error, exit translation loop, free program instructions. Check for null pointers in calling code. | ||||
* | mesa: use gl_shader_type enum | Brian Paul | 2010-11-23 | 1 | -3/+3 |
| | |||||
* | mesa: replace #defines with new gl_shader_type enum | Brian Paul | 2010-11-23 | 8 | -40/+53 |
| | |||||
* | mesa: _mesa_valid_register_index() to validate register indexes | Brian Paul | 2010-11-23 | 2 | -0/+103 |
| | |||||
* | mesa: rename, make _mesa_register_file_name() non-static | Brian Paul | 2010-11-23 | 2 | -11/+12 |
| | | | | Plus remove unused parameter. | ||||
* | glsl: use gl_register_file in a few places | Brian Paul | 2010-11-23 | 1 | -4/+4 |
| | |||||
* | glsl: fix off by one in register index assertion | Brian Paul | 2010-11-23 | 1 | -1/+1 |
| | |||||
* | i965: Use the new embedded compare in SEL on gen6 for VS MIN and MAX opcodes. | Eric Anholt | 2010-11-23 | 1 | -6/+24 |
| | | | | Cuts the extra CMP instruction that used to precede SEL. | ||||
* | i965: Don't upload line smooth params unless we're line smoothing. | Eric Anholt | 2010-11-23 | 1 | -2/+3 |
| | |||||
* | i965: Don't upload line stipple pattern unless we're stippling. | Eric Anholt | 2010-11-23 | 1 | -0/+3 |
| | |||||
* | i965: Don't upload polygon stipple unless required. | Eric Anholt | 2010-11-23 | 1 | -1/+7 |
| | |||||
* | i965: Move gen4 blend constant color to the gen4 blending file. | Eric Anholt | 2010-11-23 | 2 | -34/+25 |
| | |||||
* | r300/compiler: Don't allow presubtract sources to be remapped twice | Tom Stellard | 2010-11-23 | 1 | -1/+8 |
| | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=31193 NOTE: This is a candidate for the 7.9 branch. | ||||
* | mesa: Clean up header file inclusion in syncobj.h. | Vinson Lee | 2010-11-22 | 1 | -1/+5 |
| | |||||
* | mesa: fix regression from b4bb6680200b5a898583392f4c831c02f41e63f7 | Xiang, Haihao | 2010-11-23 | 1 | -0/+7 |
| | | | | | | | Pending commands to the previous context aren't flushed since commit b4bb668 Reported-by: Oleksiy Krivoshey <[email protected]> Signed-off-by: Xiang, Haihao <[email protected]> | ||||
* | r600c: fix VC flush on cedar and palm | Alex Deucher | 2010-11-22 | 1 | -1/+5 |
| | |||||
* | r600c: add Ontario Fusion APU support | Alex Deucher | 2010-11-22 | 5 | -1/+24 |
| | | | | Signed-off-by: Alex Deucher <[email protected]> | ||||
* | st/mesa: set MaxUniformComponents | Marek Olšák | 2010-11-22 | 1 | -0/+1 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | swrast: init alpha value to 1.0 in opt_sample_rgb_2d() | Brian Paul | 2010-11-22 | 1 | -0/+1 |
| | |||||
* | gallium: add PIPE_SHADER_CAP_SUBROUTINES | Marek Olšák | 2010-11-22 | 1 | -2/+2 |
| | | | | | | | | | | | This fixes piglit/glsl-vs-main-return and glsl-fs-main-return for the drivers which don't support RET (i915g, r300g, r600g, svga). ir_to_mesa does not currently generate subroutines, but it's a matter of time till it's added. It would then break all the drivers which don't implement them, so this CAP makes sense. Signed-off-by: Marek Olšák <[email protected]> | ||||
* | r300/compiler: Add a more efficient version of rc_find_free_temporary() | Tom Stellard | 2010-11-21 | 3 | -23/+110 |
| | |||||
* | r300/compiler: Enable rename_reg pass for r500 cards | Tom Stellard | 2010-11-21 | 2 | -79/+16 |
| | | | | | In addition, the rename_reg pass has been rewritten to use rc_get_readers(). | ||||
* | r300/compiler: Use presubtract operations as much as possible | Tom Stellard | 2010-11-21 | 8 | -67/+204 |
| | | | | | Previously, presubtract operations where only being used by instructions with less than three source source registers. | ||||
* | r300/compiler: Convert RGB to alpha in the scheduler | Tom Stellard | 2010-11-21 | 4 | -17/+320 |
| | |||||
* | r300/compiler: Track readers through branches in rc_get_readers() | Tom Stellard | 2010-11-21 | 4 | -38/+65 |
| | |||||
* | r300/compiler: Handle BREAK and CONTINUE in rc_get_readers() | Tom Stellard | 2010-11-21 | 1 | -0/+2 |
| | |||||
* | r300/compiler: Add rc_get_readers() | Tom Stellard | 2010-11-21 | 5 | -109/+246 |
| | |||||
* | r300/compiler: Ignore alpha dest register when replicating the result | Tom Stellard | 2010-11-21 | 1 | -1/+4 |
| | | | | | | | | | | When the result of the alpha instruction is being replicated to the RGB destination register, we do not need to use alpha's destination register. This fixes an invalid "Too many hardware temporaries used" error in the case where a transcendent operation writes to a temporary register greater than max_temp_regs. NOTE: This is a candidate for the 7.9 branch. | ||||
* | r300/compiler: Use zero as the register index for unused sources | Tom Stellard | 2010-11-21 | 2 | -0/+6 |
| | | | | | | | | | This fixes an invalid "Too many hardware temporaries used" error in the case where a source reads from a temporary register with an index greater than max_temp_regs and then the source is marked as unused before the register allocation pass. NOTE: This is a candidate for the 7.9 branch. | ||||
* | r300/compiler: Fix instruction scheduling within IF blocks | Tom Stellard | 2010-11-21 | 1 | -17/+20 |
| | | | | | | | | | | | | | Reads of registers that where not written to within the same block were not being tracked. So in a situations like this: 0: IF 1: ADD t0, t1, t2 2: MOV t2, t1 Instruction 2 didn't know that instruction 1 read from t2, so in some cases instruction 2 was being scheduled before instruction 1. NOTE: This is a candidate for the 7.9 branch. | ||||
* | r300/compiler: Fix register allocator's handling of loops | Tom Stellard | 2010-11-21 | 1 | -10/+21 |
| | | | | NOTE: This is a candidate for the 7.9 branch. | ||||
* | r300/compiler: Make sure presubtract sources use supported swizzles | Tom Stellard | 2010-11-21 | 2 | -6/+15 |
| | | | | NOTE: This is a candidate for the 7.9 branch. | ||||
* | r600: Remove unnecessary header. | Vinson Lee | 2010-11-21 | 1 | -1/+0 |
| | |||||
* | st/mesa: enable ARB_explicit_attrib_location and EXT_separate_shader_objects | Marek Olšák | 2010-11-21 | 1 | -0/+2 |
| | | | | | | | | | | Gallium drivers pass all piglit tests for the two (there are 12 tests for separate_shader_objects and 5 tests for explicit_attrib_location), and I was told the extensions don't need any driver-specific code. I made them dependent on PIPE_CAP_GLSL. Signed-off-by: Brian Paul <[email protected]> | ||||
* | mesa: fix get_texture_dimensions() for texture array targets | Brian Paul | 2010-11-21 | 1 | -5/+5 |
| | | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31779 | ||||
* | mesa: hook up GL 3.x entrypoints | Brian Paul | 2010-11-21 | 5 | -6320/+6864 |
| | | | | Fix up some details in the xml files and regenerate dispatch files. | ||||
* | mesa: fix error msg typo | Brian Paul | 2010-11-21 | 1 | -1/+1 |
| | |||||
* | mesa: Clean up header file inclusion in stencil.h. | Vinson Lee | 2010-11-20 | 1 | -1/+2 |
| | |||||
* | mesa: Clean up header file inclusion in shared.h. | Vinson Lee | 2010-11-20 | 1 | -1/+1 |
| | |||||
* | mesa: Clean up header file inclusion in shaderapi.h. | Vinson Lee | 2010-11-20 | 1 | -1/+3 |
| | |||||
* | mesa: Clean up header file inclusion in scissor.h. | Vinson Lee | 2010-11-20 | 1 | -1/+2 |
| | |||||
* | mesa: Clean up header file inclusion in renderbuffer.h. | Vinson Lee | 2010-11-20 | 1 | -1/+1 |
| | |||||
* | mesa: Clean up header file inclusion in readpix.h. | Vinson Lee | 2010-11-20 | 1 | -1/+2 |
| |