Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | radeon/llvm: Add some comments and fix coding style | Tom Stellard | 2012-05-08 | 8 | -42/+41 |
| | |||||
* | radeon/llvm: Remove the EXPORT_REG instruction | Tom Stellard | 2012-05-08 | 10 | -117/+8 |
| | |||||
* | radeon/llvm: Use a custom inserter to lower RESERVE_REG | Tom Stellard | 2012-05-08 | 10 | -27/+83 |
| | |||||
* | radeon/llvm: Use a custom inserter to lower STORE_OUTPUT | Tom Stellard | 2012-05-08 | 4 | -34/+23 |
| | |||||
* | radeon/llvm: Remove AMDGPULowerShaderInstructions class | Tom Stellard | 2012-05-08 | 6 | -86/+4 |
| | | | | It is no longer used. | ||||
* | radeon/llvm: Use a custom inserter to lower LOAD_INPUT | Tom Stellard | 2012-05-08 | 4 | -39/+15 |
| | |||||
* | radeon/llvm: Remove the ReorderPreloadInstructions pass | Tom Stellard | 2012-05-08 | 9 | -100/+4 |
| | |||||
* | radeon/llvm: Remove old comment from AMDIL.h | Tom Stellard | 2012-05-08 | 1 | -5/+0 |
| | |||||
* | radeon/llvm: add suport for cube textures | Vadim Girlin | 2012-05-08 | 2 | -23/+91 |
| | | | | Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | radeon/llvm: add support for CUBE ALU instruction | Vadim Girlin | 2012-05-08 | 5 | -21/+63 |
| | | | | Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | radeon/llvm: add support for some ALU instructions | Vadim Girlin | 2012-05-08 | 4 | -13/+293 |
| | | | | | | | | Add support for IABS, NOT, AND, XOR, OR, UADD, UDIV, IDIV, MOD, UMOD, INEG, I2F, U2F, F2U, F2I, USEQ, USGE, USLT, USNE, ISGE, ISLT, ROUND, MIN, MAX, IMIN, IMAX, UMIN, UMAX Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | radeon/llvm: add missing cases for BREAK/CONTINUE | Vadim Girlin | 2012-05-08 | 2 | -0/+3 |
| | | | | Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | radeon/llvm: add support for AHSR/LSHR/LSHL instructions | Vadim Girlin | 2012-05-08 | 4 | -0/+53 |
| | | | | Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | radeon/llvm: add support for TXQ/TXF/DDX/DDY instructions | Vadim Girlin | 2012-05-08 | 6 | -6/+43 |
| | | | | Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | radeon/llvm: add support for VertexID, InstanceID | Vadim Girlin | 2012-05-08 | 3 | -0/+50 |
| | | | | Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | radeon/llvm: fix live-in handling for inputs | Vadim Girlin | 2012-05-08 | 2 | -2/+3 |
| | | | | | | Set the input registers as live-in for entry basic block. Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | radeon/llvm: add support for v4i32 | Vadim Girlin | 2012-05-08 | 4 | -5/+20 |
| | | | | Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | radeon/llvm: fix ABS_i32 instruction lowering | Vadim Girlin | 2012-05-08 | 1 | -2/+2 |
| | | | | | | Swap source operands. Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | radeon/llvm: use integer comparison for IF | Vadim Girlin | 2012-05-08 | 1 | -2/+4 |
| | | | | | | | Replacing "float equal to 1.0f" with "int not equal to 0". This should help for further optimization of boolean computations. Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | radeon/llvm: use bitcasts for integers | Vadim Girlin | 2012-05-08 | 3 | -5/+73 |
| | | | | | | | | | We're using float as default type, so basically for every instruction that wants other types for dst/src operands we need to perform the bitcast to/from default float. Currently bitcast produces no-op MOV instruction, will be eliminated later. Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | r600g: Fix out of tree builds that use the LLVM backend | Tom Stellard | 2012-05-07 | 1 | -1/+1 |
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=49567 | ||||
* | radeon/llvm: Remove references to DebugFlag and isCurrentDebugType() | Tom Stellard | 2012-05-07 | 4 | -22/+3 |
| | | | | | | | These weren't being used at all and they were causing build failures when LLVM was built with NDEBUG defined and mesa was not. https://bugs.freedesktop.org/show_bug.cgi?id=49110 | ||||
* | nv50: handle VP without inputs | Marcin Slusarz | 2012-05-07 | 1 | -0/+11 |
| | |||||
* | nvc0/ir: allow abs,neg source modifiers with ceil,floor,trunc | Christoph Bumiller | 2012-05-06 | 1 | -0/+3 |
| | |||||
* | nv50/ir/opt: don't lose saturation in tryCollapseChainedMULs | Christoph Bumiller | 2012-05-06 | 1 | -2/+3 |
| | |||||
* | nvc0/ir: fix lowering of textureGrad | Christoph Bumiller | 2012-05-06 | 3 | -12/+13 |
| | |||||
* | nouveau: fix nouveau_scratch_runout_release bo count underflow | Christoph Bumiller | 2012-05-06 | 1 | -1/+3 |
| | |||||
* | auxiliary/os: Add missing signal.h include. | Baldo Davide | 2012-05-05 | 1 | -0/+1 |
| | | | | | | | | The signal.h include was missed in the commit bc16c73407d11bb6702cf7de9925bfaeb80a5272 which leads to broken compilations under Linux. Signed-off-by: José Fonseca <[email protected]> | ||||
* | nv50: fix typo causing NULL-deref in nv50_resource_resolve | Christoph Bumiller | 2012-05-04 | 1 | -1/+1 |
| | | | | Introduced in b328949a37fee7b0f68ed3e068ffc4426c083042. | ||||
* | nv50/ir: move expansion of IMUL to later stage and handle memory operands | Christoph Bumiller | 2012-05-04 | 4 | -17/+51 |
| | |||||
* | nv50: implement stream output | Christoph Bumiller | 2012-05-04 | 12 | -33/+468 |
| | |||||
* | nv50: enable array textures | Christoph Bumiller | 2012-05-04 | 2 | -3/+4 |
| | |||||
* | svga: specify 4-byte aligned vertex elements | Brian Paul | 2012-05-04 | 1 | -1/+2 |
| | | | | | | | We haven't found a case where this is needed, but it would be prudent for some hosts, per Jose. Reviewed-by: José Fonseca <[email protected]> | ||||
* | gallivm: fix comment typo | Brian Paul | 2012-05-04 | 1 | -1/+1 |
| | |||||
* | scons: Do not build EGL on Solaris. | Vinson Lee | 2012-05-03 | 1 | -2/+2 |
| | | | | | | | The current EGL headers do not support Solaris. Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Brian Paul <[email protected]> | ||||
* | 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. |