Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r600g/llvm: Mask write of pred_inst in llvm_if() | Tom Stellard | 2012-05-03 | 1 | -0/+1 |
| | |||||
* | r600g/llvm: Lower ULT A, B, C to SETGT_UINT A, C, B | Tom Stellard | 2012-05-03 | 1 | -0/+7 |
| | |||||
* | r600g: Print integer values of literal constants in shader dumps | Tom Stellard | 2012-05-03 | 1 | -1/+2 |
| | |||||
* | r600g: Add support for reading BREAK_LOGICALZ_i32 from bytestream | Tom Stellard | 2012-05-03 | 2 | -0/+5 |
| | |||||
* | r600g/llvm: Don't duplicate R600 intrinsics installed by LLVM | Tom Stellard | 2012-05-03 | 4 | -0/+26 |
| | | | | | | | At this point, in order for OpenCL to work correctly with r600g, OpenCL specific intrinsics need to be defined in the LLVM tree. So, we need to check for these intrinsics in the LLVM include directory to make sure not to re-define them. | ||||
* | r600g: Fix the evergreen offset/end register definitions | Tom Stellard | 2012-05-02 | 1 | -9/+5 |
| | |||||
* | radeon/llvm: Fix MachineInstr dump | Tom Stellard | 2012-05-02 | 2 | -8/+9 |
| | |||||
* | r600g: fixed the bug with VTX fetches in TEX clauses for evergreen | Adam Rak | 2012-05-02 | 1 | -7/+6 |
| | | | | Signed-off-by: Tom Stellard <[email protected]> | ||||
* | winsys/radeon: Get max_pipes from the kernel | Tom Stellard | 2012-05-02 | 2 | -0/+11 |
| | | | | Signed-off-by: Tom Stellard <[email protected]> | ||||
* | r600g: Add support for reading vertex fetches from bytestream | Tom Stellard | 2012-05-02 | 1 | -0/+37 |
| | | | | Signed-off-by: Tom Stellard <[email protected]> | ||||
* | r600g: Add support for reading native instructions from the LLVM bytestream | Tom Stellard | 2012-05-02 | 1 | -0/+10 |
| | | | | Signed-off-by: Tom Stellard <[email protected]> | ||||
* | r600g: Add FC_NATIVE instruction | Tom Stellard | 2012-05-02 | 3 | -0/+20 |
| | | | | | | | This is a pseudo instruction that enables the LLVM backend to encode instructions and pass it through r600_bytecode_build() Signed-off-by: Tom Stellard <[email protected]> | ||||
* | r600g: bypass alpha for integer types (v2) | Dave Airlie | 2012-05-02 | 4 | -2/+18 |
| | | | | | | | | | | | | This moves the alpha test control to derived state and disables alpha testing for integer fbs. fbo-blending test in piglit gets further when we do this (not a pass but less fail). v2: drop the fb_sx_alpha_test_control Signed-off-by: Dave Airlie <[email protected]> | ||||
* | gallivm: Use debug_printf in lp_build_printf. | José Fonseca | 2012-05-02 | 1 | -6/+9 |
| | | | | | | | So that its output can be seen on GUI window apps. Tested-by: James Benton <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]> | ||||
* | gallivm: Avoid LLVMAddGlobalMapping() in lp_bld_assert(). | José Fonseca | 2012-05-02 | 2 | -26/+16 |
| | | | | Brittle, complex, and unecesary. Just use function pointer constant. | ||||
* | gallivm: Add a lp_build_const_func_pointer() helper. | José Fonseca | 2012-05-02 | 3 | -15/+44 |
| | | | | To be reused in all places where we want to call C code. | ||||
* | gallivm: Cleanup/simplify lp_build_const_string_variable. | José Fonseca | 2012-05-02 | 5 | -29/+29 |
| | | | | | | | - Move to lp_bld_const where it belongs - Rename to lp_build_const_string - take the length from the argument (and don't count the zero terminator twice) - bitcast the constant to generic i8 * | ||||
* | gallivm: Added lp_build_const_mask_aos_swizzled | James Benton | 2012-05-02 | 4 | -11/+31 |
| | | | | | | | | | | Allows the creation of const aos masks which have the mask swizzled to match the correct format. Updated existing mask creation code to use the swizzled version where necessary (tgsi register masks and llvmpipe aos blending). Signed-off-by: José Fonseca <[email protected]> | ||||
* | gallivm: Move loop var declaration to beginning of scope. | José Fonseca | 2012-05-02 | 1 | -1/+3 |
| | |||||
* | gallivm: added a debug function which allows llvm to print vectors of 16 ↵ | James Benton | 2012-05-02 | 2 | -0/+29 |
| | | | | | | | | unsigned ints This is useful for debugging the linear llvm path as it handles pixels in this format Signed-off-by: José Fonseca <[email protected]> | ||||
* | llvmpipe: add masking support to aos blend | James Benton | 2012-05-02 | 3 | -6/+35 |
| | | | | Signed-off-by: José Fonseca <[email protected]> | ||||
* | llvmpipe: Check when a shader does not satisfy 0 < imm < 1. | James Benton | 2012-05-02 | 2 | -2/+11 |
| | | | | Signed-off-by: José Fonseca <[email protected]> | ||||
* | gallivm: fixed memory leak in lp_build_tgsi_aos | James Benton | 2012-05-02 | 1 | -0/+1 |
| | | | | | Reviewed-by: José Fonseca <[email protected]> Reviewed-by: Brian Paul <[email protected]> | ||||
* | llvmpipe: Added support for color masks in AoS blending. | James Benton | 2012-05-02 | 5 | -33/+71 |
| | | | | Signed-off-by: José Fonseca <[email protected]> | ||||
* | gallivm: added aligned pointer get/set | James Benton | 2012-05-02 | 4 | -0/+81 |
| | |||||
* | gallivm: llvm c-style for loops, allows us to create loops with conditions ↵ | James Benton | 2012-05-02 | 2 | -0/+94 |
| | | | | on entry, rather than condition check on loop | ||||
* | radeon/llvm: Fix build for updated LLVM 3.1 release branch | Tom Stellard | 2012-05-01 | 2 | -18/+18 |
| | |||||
* | softpipe: use any_swizzle() helper in sp_tex_sample.c | Brian Paul | 2012-05-01 | 1 | -8/+15 |
| | | | | Reviewed-by: Jose Fonseca <[email protected]> | ||||
* | softpipe: whitespace, comment clean-ups in sp_tex_sample.c | Brian Paul | 2012-05-01 | 1 | -26/+32 |
| | | | | Reviewed-by: Jose Fonseca <[email protected]> | ||||
* | softpipe: implement coord clamping for texel fetches (TXF) | Brian Paul | 2012-05-01 | 1 | -14/+31 |
| | | | | | | | | | | The GL spec says out of bounds fetches produce undefined results. Use clamping to avoid failed assertions or crashes. Fixes failed assertion in https://bugs.freedesktop.org/show_bug.cgi?id=49125 but the test still fails. Reviewed-by: Jose Fonseca <[email protected]> | ||||
* | radeon/llvm: Add subtarget feature: DumpCode | Tom Stellard | 2012-05-01 | 5 | -6/+9 |
| | | | | | | With this feature enabled, the LLVM backend will dump the MachineIntrs prior to emitting code. The mesa env variable R600_DUMP_SHADERS will enable this feature in the backend. | ||||
* | r600g/llvm: Remove unnecessary dynamic casts | Dragomir Ivanov | 2012-04-30 | 1 | -5/+5 |
| | | | | | | | When the result of dynamic_cast is not checked, it can be replaced with static_cast Signed-off-by: Tom Stellard <[email protected]> | ||||
* | r600g/llvm: Add pattern for llvm.AMDGPU.kill v2 | Dragomir Ivanov | 2012-04-30 | 2 | -1/+6 |
| | | | | Signed-off-by: Tom Stellard <[email protected]> | ||||
* | r600g/llvm: Fix handling of MASK_WRITE instructions | Tom Stellard | 2012-04-30 | 2 | -1/+3 |
| | | | | | | We can't delete MASK_WRITE instructions from the program, because this will cause instructions being masked by MASK_WRITE to be marked dead and then deleted in the dce pass. | ||||
* | radeon/llvm: Use a custom emit function for TGSI_OPCODE_KIL | Tom Stellard | 2012-04-30 | 1 | -1/+16 |
| | |||||
* | egl-fbdev: Fix compile-error by including errno.h | David Herrmann | 2012-04-30 | 1 | -0/+1 |
| | | | | | | | | | | | | | We use errno and EINVAL so include errno.h. This patch introduced this bug: http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/state_trackers/egl/fbdev/native_fbdev.c?id=b60120608f6ddf4098bc324363197c979ee04cb7 Signed-off-by: David Herrmann <[email protected]> Cc: Chia-I Wu <[email protected]> Cc: Dave Airlie <[email protected]> Cc: Adam Jackson <[email protected]> Cc: Jesse Barnes <[email protected]> | ||||
* | svga: add cases for recently added PIPE_CAP queries | Brian Paul | 2012-04-30 | 1 | -0/+3 |
| | |||||
* | scons: Fix build without llvm. | José Fonseca | 2012-04-30 | 1 | -2/+8 |
| | | | | radeonsi depends on llvm, so it must be disabled if llvm support is not enabled. | ||||
* | nv50,nvc0: fix depth/stencil resolve | Christoph Bumiller | 2012-04-29 | 5 | -56/+206 |
| | | | | | Cannot sample depth/stencil with a single view, and needed to use different shader code for nve4. | ||||
* | nvc0/ir/opt: INTERP does not support JOIN | Christoph Bumiller | 2012-04-29 | 1 | -0/+2 |
| | |||||
* | nv50/ir/opt: try to convert ABS(SUB) to SAD | Christoph Bumiller | 2012-04-29 | 7 | -16/+179 |
| | |||||
* | nvc0/ir: try to use the optimal texture op mode | Christoph Bumiller | 2012-04-29 | 1 | -3/+15 |
| | | | | | Don't really know what they are yet but for groups of textures, the last one should use mode "p" and the others "t". | ||||
* | nvc0/ir: initial implementation of nve4 scheduling hints | Christoph Bumiller | 2012-04-29 | 8 | -15/+738 |
| | |||||
* | nvc0/ir: implement better placement of texture barriers | Christoph Bumiller | 2012-04-29 | 8 | -13/+327 |
| | | | | | Put them before first uses instead of right after the texturing instruction and cull unnecessary barriers. | ||||
* | nv50/ir/tgsi: fix handling of early RET | Christoph Bumiller | 2012-04-29 | 1 | -4/+5 |
| | | | | We have to actually emit RET, too, of course, not just the PRERET. | ||||
* | nvc0/ir/emit: fix emitTXQ 2nd src | Christoph Bumiller | 2012-04-29 | 1 | -1/+3 |
| | |||||
* | nvc0/ir/target: integer ADD doesn't support ABS modifier | Christoph Bumiller | 2012-04-29 | 1 | -0/+2 |
| | |||||
* | u_vbuf: unbind vertex buffers on destroy | Marek Olšák | 2012-04-29 | 1 | -0/+2 |
| | |||||
* | u_blitter: fix resource leak | Marek Olšák | 2012-04-29 | 1 | -0/+1 |
| | |||||
* | radeonsi: make r600_buffer_transfer_unmap a no-op | Marek Olšák | 2012-04-29 | 1 | -7/+1 |
| | | | | It's a no-op already in the winsys. |