Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-09-10 | r300/compiler: Enable presubtract sources | Tom Stellard | |
The r300 compiler can now emit instructions that select from the presubtract source. A peephole optimization has been added to convert instructions like: ADD Temp[0].x, none.1, -Temp[1].x into the INV (1 - src0) presubtract operation. | |||
2010-09-04 | r300g: add a new debug option which disables compiler optimizations | Marek Olšák | |
Those are: - dead-code elimination - constant folding - peephole (mainly copy propagation) - register allocation There are some bugs which I need to track down. Also fix up the descriptions of all the debug options. | |||
2010-09-04 | r300/compiler: make optimizations not use 0.5 swizzles in vertex shaders | Marek Olšák | |
2010-09-04 | r300/compiler: add new compiler parameter max_constants | Marek Olšák | |
2010-09-04 | r300g: only check for an empty shader if there are no compile errors | Marek Olšák | |
2010-09-04 | r300/compiler: add new compiler parameter max_alu_insts | Marek Olšák | |
2010-08-25 | r300g: eliminate unused constants in FS | Marek Olšák | |
2010-08-25 | r300g: eliminate unused constants in VS | Marek Olšák | |
2010-08-25 | r300g: fix indentation | Marek Olšák | |
2010-08-11 | r300g: implement gl_FrontFacing | Marek Olšák | |
2010-08-09 | r300g: do not print shader compiler errors by default | Marek Olšák | |
2010-08-03 | r300/compiler: r500 hw support for break and continue in loops. | Tom Stellard | |
The BGNLOOP and ENDLOOP instructions are now being used correctly, which makes break and continue possible. The deadcode pass has been modified to handle breaks, and the compiler is more careful about which loops are unrolled. | |||
2010-07-25 | r300g: do not use TXPITCH_EN if the width is POT and the height is NPOT | Marek Olšák | |
2010-07-25 | r300g: cleanup texture creation code | Marek Olšák | |
This decouples initializing a texture layout/miptree description from an actual texture creation, it also partially unifies texture_create and texture_from_handle. r300_texture inherits r300_texture_desc, which inherits u_resource. The CBZB clear criteria are moved to r300_texture_desc::cbzb_allowed[level]. And other minor cleanups. | |||
2010-07-03 | r300/compiler: Use hardware flow control instructions for loops on r500. | Tom Stellard | |
2010-06-24 | r300g: reorder and cleanup register writes everywhere | Marek Olšák | |
2010-06-13 | r300g: turn fragment shader into a CB | Marek Olšák | |
2010-05-26 | r300/compiler: move hardware caps to the radeon_compiler base struct | Marek Olšák | |
Needed for vertex shaders too. | |||
2010-05-23 | r300g: extend compile error message | Marek Olšák | |
2010-05-08 | r300g: pass depth texture swizzle to the compiler if compare mode is enabled | Marek Olšák | |
2010-05-08 | r300g: respect compare mode regardless of sampler type | Marek Olšák | |
2010-05-08 | r300/compiler: generalize depth texture mode to support arbitrary swizzles | Marek Olšák | |
2010-04-26 | r300g: use the dummy FS shader for shaders with zero instructions | Marek Olšák | |
2010-04-17 | r300/compiler: add emulation of all mirrored-clamp wrap modes for NPOT textures | Marek Olšák | |
2010-04-16 | r300/compiler: fix repeat wrap mode for TXP and NPOTs | Marek Olšák | |
No idea why st/mesa unnecessarily inserts TXP where TEX is sufficient. Also re-enabling the NPOT fallback for repeat in r300g. | |||
2010-04-15 | r300/compiler: kill off RC_WRAP_CLAMP | Marek Olšák | |
A variant thereof might be later reintroduced for the mirrored-clamp modes. | |||
2010-04-15 | r300g: disable the REPEAT NPOT fallback until it works | Marek Olšák | |
It causes regressions. I haven't tested the MIRROR wrap modes, so not sure about that.. | |||
2010-04-15 | r300g: do not use NPOT fallback for CLAMP wrap modes | Marek Olšák | |
These work just fine. | |||
2010-04-15 | r300g: pick a new fragment shader when either a sampler state or view is changed | Marek Olšák | |
2010-04-15 | r300g: fix regression in texdepth. | Dave Airlie | |
texdepth stopped working when npot went in, this brings it back to life. < MostAwesomeDude> That looks like what I was going to do. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2010-04-14 | r300g: fix possible crash when shader compilation fails | Marek Olšák | |
This hopefully fixes the crash in the FDO bug #27634, not the bug itself. | |||
2010-04-14 | r300g: make setting up fragment depth output less hackish | Marek Olšák | |
2010-04-14 | r300g: kill off r300_fragment_shader::shadow_samplers and friends | Marek Olšák | |
2010-04-11 | r300/compiler: Implement texcoord repeat and mirror for NPOT. | Corbin Simpson | |
2010-04-11 | r300g: Setup external state for wrap modes. | Corbin Simpson | |
2010-04-11 | r300g: Cleanup fragment program external state setup. | Corbin Simpson | |
2010-04-12 | r300g: atomize fragment shader | Marek Olšák | |
2010-04-12 | r300g: FS constants emission rework | Marek Olšák | |
* The constant buffer emission is separated from RC state variables emission. * The immediates are emitted with FS code. | |||
2010-04-11 | r300g: use a dummy replacement fragment shader if the shader compilation fails | Marek Olšák | |
Better than killing an application. | |||
2010-04-11 | r300g: revisit some assertions and fix potential failures | Marek Olšák | |
* Turn some assertions to error messages. * At most 16 vertex elements can be set, others are ignored. * Rasterize at most 8 vertex-shader generic outputs, others are ignored. This includes fog and WPOS. * Unknown shader semantic names are ignored. | |||
2010-04-11 | r300g: cleanup handling of sampler views | Marek Olšák | |
The evolution of TX_FORMAT bits is as follows: * When a texture is created, set bits independent of pipe_format. * When a sampler view is created, add format-specific bits. * When sampler states and views are getting merged, add min/max LOD. | |||
2010-04-05 | r300g: simplify accessing screen from context | Marek Olšák | |
2010-04-05 | r300/compiler: make the max number of fragment shader temporaries adjustable | Marek Olšák | |
2010-03-27 | r300g: print errors even on non-debug builds | Marek Olšák | |
We really need to get these into bug reports. | |||
2010-03-07 | r300g: abort if FS compilation fails on non-debug builds | Marek Olšák | |
2010-02-28 | r300g: atomize texture and sampler states | Marek Olšák | |
2010-02-10 | r300g: Work around "defect" in r300compiler. | Corbin Simpson | |
r300compiler doesn't handle half swizzles for vert shaders, which don't have them. So, for now, disable them. | |||
2010-02-09 | r300g: Fix off-by-one errors in array bounds assertions. | Vinson Lee | |
2010-02-02 | r300compiler, r300 classic, r300g: Add support for MRTs in the frag shader. | Corbin Simpson | |
This maybe breaks the vert compiler. Hopefully not. | |||
2010-01-06 | r300g: add WPOS | Marek Olšák | |