summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* r600g: add vgt dma src definesDave Airlie2010-09-162-3/+5
|
* r600g: use index min/max + index buffer offset.Dave Airlie2010-09-164-5/+14
| | | | more prep work for fixing up buffer handling
* r600g: pull r600_draw struct out into headerDave Airlie2010-09-164-72/+73
| | | | we need this for future buffer rework, it also makes the vtbl easier
* gallivm: expand AoS sampling to cover all filtering modesBrian Paul2010-09-157-1029/+1919
| | | | ...and all texture targets (1D/2D/3D/CUBE).
* tgsi: fix incorrect usage_mask for shadow tex instructionsBrian Paul2010-09-151-5/+6
| | | | | | The shadow versions of the texture targets use an extra component (Z) to express distance from light source to the fragment. Fixes the shadowtex demo with llvmpipe.
* nv50: use unsigned int for bitfields to silence warningsBrian Paul2010-09-152-16/+16
|
* llvmpipe: s/boolean/unsigned/ in bitfield to silence warningBrian Paul2010-09-151-2/+2
| | | | | Using non-int types for bitfields is a gcc extension. The size of the struct is not effected by this change.
* llvmpipe: cast to silence warningBrian Paul2010-09-151-1/+1
|
* glsl2: fix signed/unsigned comparison warningBrian Paul2010-09-151-2/+2
|
* r600g: misc cleanupJohn Doe2010-09-157-46/+47
| | | | | | | Avoid using r600_screen structure to get ptr to radeon winsys structure. Signed-off-by: Jerome Glisse <[email protected]>
* Merge remote branch 'origin/nv50-compiler'Christoph Bumiller2010-09-1523-5020/+9082
|\ | | | | | | | | | | Conflicts: src/gallium/drivers/nouveau/nouveau_class.h src/gallium/drivers/nv50/nv50_screen.c
| * nv50: put low limit on REG_ALLOC_TEMP and FP_RESULT_COUNTChristoph Bumiller2010-09-152-2/+5
| |
| * nv50: improve and fix modifier folding optimizationChristoph Bumiller2010-09-154-26/+46
| | | | | | | | | | | | | | Execute before folding loads, because we don't check if it's legal in lower_mods. Ensure that a value's insn pointer is updated when transferring it to a different instruction.
| * nv50: consider address register in reload eliminationChristoph Bumiller2010-09-151-7/+11
| |
| * nv50: fix TXP depth comparison valueChristoph Bumiller2010-09-131-16/+22
| |
| * nv50: fix indirect CONST access with large or negative offsetsChristoph Bumiller2010-09-132-3/+12
| |
| * nv50: MOV TEMP[0], -CONST[0] must be float32 negationChristoph Bumiller2010-09-131-2/+7
| |
| * nv50: interp cannot write flags regChristoph Bumiller2010-09-133-7/+25
| |
| * nv50: check for immediates when turning MUL ADD into MADChristoph Bumiller2010-09-131-0/+9
| |
| * nv50: handle TGSI EXP and LOG againChristoph Bumiller2010-09-132-3/+47
| |
| * nv50: match TEMP limit with nv50 ir builderChristoph Bumiller2010-09-121-1/+1
| | | | | | | | | | Mesa doesn't respect it anyway, but this makes it assert rather than threads access areas of l[] that don't belong to them.
| * nv50: newlines in shader bincode printingChristoph Bumiller2010-09-121-2/+5
| |
| * nv50: cannot move from local mem to output reg directlyChristoph Bumiller2010-09-123-3/+5
| |
| * nv50: fix size of outputs_written arrayXavier Chantry2010-09-121-1/+1
| |
| * nv50: minor compiler fixes and cleanupsChristoph Bumiller2010-09-124-8/+19
| |
| * nv50: reduce bb_reachable_by runtime from pot to linearChristoph Bumiller2010-09-123-21/+104
| | | | | | | | As a by-product, remove the memory leak of nv_basic_blocks.
| * nv50: fix can_load check for 3rd sourceChristoph Bumiller2010-09-091-7/+5
| |
| * nv50: address regs are 16 bitChristoph Bumiller2010-09-092-1/+5
| |
| * nv50: duplicate interps in load_proj_tex_coordsChristoph Bumiller2010-09-091-4/+35
| | | | | | | | | | Otherwise we might clobber the origin interpolation result or use the result of the RCP before its definition.
| * nv50: create value references with the right typeChristoph Bumiller2010-09-092-26/+29
| | | | | | | | | | | | | | | | | | Since atm our OPs aren't typed but instead values are, we need to take care if they're used as different types (e.g. a load makes a value u32 by default). Maybe this should be changed (also to match TGSI), but it should work as well if done properly.
| * nv50: use actual loads/stores if TEMPs are accessed indirectlyChristoph Bumiller2010-09-0910-23/+122
| |
| * nv50: don't parse again in tgsi_2_ncChristoph Bumiller2010-09-091-15/+3
| |
| * nv50: prepare for having multiple functionsChristoph Bumiller2010-09-098-52/+171
| | | | | | | | | | | | | | | | | | At some point we'll want to support real subroutines instead of just inlining them into the main shader. Since recursive calls are forbidden, we can just save all used registers to a fixed local memory region and restore them on a return, no need for a stack pointer.
| * nv50: save tgsi instructionsChristoph Bumiller2010-09-092-0/+6
| |
| * nv50: load address register before using it, not afterChristoph Bumiller2010-09-031-5/+7
| |
| * Merge remote branch 'origin/master' into nv50-compilerChristoph Bumiller2010-09-021047-47945/+115776
| |\ | | | | | | | | | | | | Conflicts: src/gallium/drivers/nv50/nv50_program.c
| * | nv50: fix build-predicate functionChristoph Bumiller2010-09-024-13/+65
| | |
| * | nv50: fix find_dom_frontierChristoph Bumiller2010-09-021-4/+5
| | |
| * | nv50: fix XPD, was negatedChristoph Bumiller2010-09-011-4/+4
| | |
| * | nv50: must join SELECT inputs before MOV inputsChristoph Bumiller2010-09-011-13/+19
| | |
| * | nv50: make use of TGSI immediate typeChristoph Bumiller2010-09-013-5/+20
| | |
| * | nv50: re-add proper TEXBIAS sequenceChristoph Bumiller2010-09-017-67/+258
| | |
| * | nv50: make FrontFacing -1 or +1Christoph Bumiller2010-09-011-2/+9
| | |
| * | nv50: SSGChristoph Bumiller2010-09-013-10/+18
| | |
| * | nv50: DPHBen Skeggs2010-09-011-0/+7
| | |
| * | nv50: DSTBen Skeggs2010-09-011-0/+13
| | |
| * | nv50: attempt at making more complicated loops workChristoph Bumiller2010-09-015-57/+138
| | | | | | | | | | | | Nested loops, and loops with multiple exits (BREAK, CONT).
| * | nv50: turn off verbose debug output by defaultChristoph Bumiller2010-09-017-71/+49
| | |
| * | nv50: set the FragDepth output indexChristoph Bumiller2010-09-011-1/+1
| | |
| * | nv50: handle TEXTURE_SWIZZLE and GEOMETRY_SHADER4 capsChristoph Bumiller2010-09-011-0/+4
| | | | | | | | | | | | GP support will probably be re-added soon.