Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-06-18 | draw: use flatfirst variableext-provoking-vertex | Brian Paul | 1 | -1/+1 | |
2009-06-18 | draw: remove debug code | Brian Paul | 1 | -7/+0 | |
2009-06-18 | draw: fix first provoking vertex mode for quads, quad strips and polygons | Brian Paul | 1 | -18/+55 | |
2009-06-18 | draw: fix first provoking vertex mode for unfilled quads | Brian Paul | 1 | -10/+24 | |
2009-06-18 | mesa: fix first provoking vertex mode for unfilled tri strips | Brian Paul | 1 | -10/+16 | |
2009-06-18 | draw: clean up indentation | Brian Paul | 1 | -11/+11 | |
2009-06-09 | st/mesa: enable EXT_provoking_vertex | Brian Paul | 1 | -0/+1 | |
2009-06-09 | tests: prim.c demo, modified for GL_EXT_provoking_vertex | Brian Paul | 2 | -0/+560 | |
2009-06-09 | tests: need tkmap.c for prim.c | Brian Paul | 1 | -0/+71 | |
2009-06-09 | draw: implement flatshade_first for drawing pipeline | Brian Paul | 2 | -20/+67 | |
2009-06-09 | softpipe: implement flatshade_first for triangles | Brian Paul | 1 | -58/+182 | |
2009-06-09 | softpipe: implement flatshade_first for line setup | Brian Paul | 1 | -1/+4 | |
2009-06-03 | Revert "softpipe: fix flat shading provoking vertex for PIPE_PRIM_POLYGON" | Brian Paul | 3 | -6/+1 | |
This reverts commit 5d75124db480b37977c353511b4e228905b7cc95. | |||||
2009-06-03 | mesa: fix parity error for tri strips with 1st provoking vertex | Brian Paul | 1 | -1/+1 | |
2009-06-03 | tnl: fix first provoking vertex case for unfilled triangles | Brian Paul | 1 | -1/+1 | |
2009-06-03 | tnl: fix first provoking vertex bug for line loops | Brian Paul | 1 | -1/+1 | |
2009-06-01 | docs: implemented GL_EXT_provoking_vertex | Brian Paul | 1 | -0/+2 | |
2009-06-01 | mesa: enable GL_EXT_provoking_vertex for sw drivers | Brian Paul | 1 | -0/+1 | |
2009-06-01 | tnl: implement GL_EXT_provoking_vertex | Brian Paul | 1 | -17/+66 | |
2009-05-28 | st: set pipe_rasterizer_state::flatshade_first according to provoking vertex ↵ | Brian Paul | 1 | -0/+3 | |
state | |||||
2009-05-28 | mesa: glGet queries for GL_EXT_provoking_vertex | Brian Paul | 2 | -0/+31 | |
2009-05-28 | mesa: exec/dlist functions for glProvokingVertexEXT() | Brian Paul | 4 | -9/+77 | |
2009-05-28 | mesa: data structure updates for GL_EXT_provoking_vertex | Brian Paul | 3 | -0/+9 | |
2009-05-28 | mesa: regenerated enums for GL_EXT_provoking_vertex | Brian Paul | 1 | -2350/+2362 | |
2009-05-28 | mesa: regenerated API files for GL_EXT_provoking_vertex | Brian Paul | 5 | -102/+87 | |
2009-05-28 | mesa: GL API changes for GL_EXT_provoking_vertex | Brian Paul | 7 | -336/+357 | |
This creates the new glProvokingVertexEXT() entrypoint. | |||||
2009-05-28 | r300-gallium, radeon-gallium: Make add_buffer indicate when a flush is needed. | Corbin Simpson | 4 | -23/+50 | |
On a side note, why is RADEON_MAX_BOS 24? Should ask airlied about that. | |||||
2009-05-28 | nv50: some mipmapping fixes | Ben Skeggs | 4 | -22/+31 | |
2009-05-28 | nv50: negate sources directly where supported | Christoph Bumiller | 1 | -42/+68 | |
2009-05-28 | nv50: introduce emit_cvt and use it | Christoph Bumiller | 1 | -40/+48 | |
This makes some code cleaner, and we can now easily do CEIL and TRUNC. | |||||
2009-05-28 | nv50: fix TXP | Christoph Bumiller | 1 | -23/+112 | |
For TXP we need to divide texture coords by their w component, or use the coords' 1/w in the perspective interpolation instruction. This also tries to support 1D, 3D and CUBE textures, and lets the instruction only load the components that are used. | |||||
2009-05-28 | nv50: use multiple constant buffers | Christoph Bumiller | 4 | -48/+105 | |
Use different buffers for immds, FP params, and VP params. One has to map constant buffer indices in shader code to buffers defined via CB_DEF. In principle, we could use more buffers so we'd have to change the shader code less frequently. | |||||
2009-05-28 | nv50: don't look for unfreed temps in free_nv50_pc | Christoph Bumiller | 1 | -8/+0 | |
Since we stopped using alloc_temp to get hw indices for FP attrs there shouldn't be any non-deallocated temps left. | |||||
2009-05-28 | nv50: release hw TEMPs early | Christoph Bumiller | 1 | -0/+19 | |
Since we know when we don't use a TEMP or FP ATTR register anymore, we can release their hw resources early. | |||||
2009-05-28 | nv50: allow immediates for MOV, ADD and MUL | Christoph Bumiller | 1 | -5/+22 | |
Immediates are inlined now where possible, so we need to set pc->allow32 to FALSE in LIT where we have the conditional MOV, since immediates swallow the predicate bits. | |||||
2009-05-28 | nv50: enable half insns for MOV and MUL | Christoph Bumiller | 1 | -7/+12 | |
2009-05-28 | nv50: make sure half-long insns are paired | Christoph Bumiller | 1 | -0/+72 | |
I chose to just convert unpaired 32 bit length instructions after parsing all instructions, although it might be possible to determine beforehand whether there would be any lone ones, and then even do some swapping to bring them together ... | |||||
2009-05-28 | nv50: enable KIL in register 19a8 | Christoph Bumiller | 1 | -0/+1 | |
2009-05-28 | nv50: don't overwrite sources before they're used | Christoph Bumiller | 1 | -12/+83 | |
This would have happened in p.e. ADD TEMP[0], TEMP[0].xyxy, TEMP[1] or RCP/RSQ TEMP[i], TEMP[i]. | |||||
2009-05-28 | nv50: put FP outputs where they belong | Christoph Bumiller | 1 | -4/+37 | |
Depth output in fragment programs should end up in the first register after the color outputs. | |||||
2009-05-28 | nv50: modified FP attribute loading | Christoph Bumiller | 2 | -45/+147 | |
VP outputs that should be loadable in the FP are mapped to interpolant indices by HPOS, COL0 etc.; of course HPOS is always written, so the highest byte of 1988 is a bitmask that selects which components of HPOS are used for interpolants, i.e. the FP inputs in COL0 start at index POPCNT(1988[24:28]). | |||||
2009-05-28 | nv50: inspect decl semantic and interpolation mode | Christoph Bumiller | 1 | -1/+74 | |
Record interpolation mode for attributes while parsing declarations, and also remember the indices of FP color inputs and FP depth output, which has to end up in the highest output register. | |||||
2009-05-28 | nv50: record last access to temp and attr regs | Christoph Bumiller | 1 | -0/+127 | |
We now inspect the TGSI instructions in tx_prep to determine where temps and FP attrs are last accessed. This will enable us to reclaim some temporaries early and we also use it to omit pre-loading FP attributes that aren't used. | |||||
2009-05-28 | nv50: save some space in immediate buffer | Christoph Bumiller | 1 | -1/+7 | |
We could do even better (like just allocating 1 value in alloc_immd), but that's fine for now I guess. | |||||
2009-05-28 | nv50: fix SIGN_SET case in tgsi_src | Christoph Bumiller | 1 | -1/+1 | |
2009-05-28 | nv50: set dst.z,w to 0,1 in SCS and XPD | Christoph Bumiller | 1 | -0/+14 | |
According to tgsi-instruction-set.txt, if they are written, z and w should be set to 0 and 1 respectively in SCS, and w to 1.0 in XPD. | |||||
2009-05-28 | nv50: make LRP instruction nicer | Christoph Bumiller | 1 | -6/+3 | |
2009-05-28 | nv50: fix some memory leaks in shader assembler | Christoph Bumiller | 1 | -25/+63 | |
2009-05-28 | nouveau: explicitly request mappable buffers for the moment | Ben Skeggs | 1 | -0/+1 | |
2009-05-27 | draw: Fix assertion failure at fetch_emit_prepare | Mike Kaplinksiy | 1 | -0/+6 | |