Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300c, r600c: Remove these DRI drivers. | Eric Anholt | 2011-10-28 | 1 | -310/+0 |
| | | | | | | | | | They have been superseded by the gallium equivalents. Acked-by: Michel Dänzer <[email protected]> Acked-by: Alex Deucher <[email protected]> Acked-by: Dave Airlie <[email protected]> Acked-by: Corbin Simpson <[email protected]> | ||||
* | mesa: move sampler state into new gl_sampler_object type | Brian Paul | 2011-04-10 | 1 | -2/+2 |
| | | | | | | gl_texture_object contains an instance of this type for the regular texture object sampling state. glGenSamplers() generates new instances of gl_sampler_object which can override that state with glBindSampler(). | ||||
* | r300c: fix build since last r300g commit | Dave Airlie | 2011-04-05 | 1 | -1/+1 |
| | |||||
* | r300c: Unbreak after R4xx support was added to r300/compiler. | Michel Dänzer | 2011-02-03 | 1 | -0/+1 |
| | |||||
* | Drop GLcontext typedef and use struct gl_context instead | Kristian Høgsberg | 2010-10-13 | 1 | -2/+2 |
| | |||||
* | r300g,r300c: memset the compiler struct to zeros | Marek Olšák | 2010-09-05 | 1 | -0/+1 |
| | | | | This should fix bogus reports "Too many temporaries." and maybe some others. | ||||
* | r300g: add a new debug option which disables compiler optimizations | Marek Olšák | 2010-09-04 | 1 | -0/+1 |
| | | | | | | | | | | | | 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. | ||||
* | r300/compiler: make optimizations not use 0.5 swizzles in vertex shaders | Marek Olšák | 2010-09-04 | 1 | -0/+1 |
| | |||||
* | r300/compiler: add new compiler parameter max_constants | Marek Olšák | 2010-09-04 | 1 | -0/+1 |
| | |||||
* | r300/compiler: add new compiler parameter max_alu_insts | Marek Olšák | 2010-09-04 | 1 | -0/+1 |
| | |||||
* | r300: Remove unnecessary header. | Vinson Lee | 2010-08-25 | 1 | -1/+0 |
| | |||||
* | mesa: rename src/mesa/shader/ to src/mesa/program/ | Brian Paul | 2010-06-10 | 1 | -2/+2 |
| | |||||
* | r300/compiler: move hardware caps to the radeon_compiler base struct | Marek Olšák | 2010-05-26 | 1 | -3/+3 |
| | | | | Needed for vertex shaders too. | ||||
* | r300/compiler: shorten RC_*SWIZZLE* expressions | Marek Olšák | 2010-05-08 | 1 | -1/+1 |
| | |||||
* | r300/compiler: generalize depth texture mode to support arbitrary swizzles | Marek Olšák | 2010-05-08 | 1 | -5/+5 |
| | |||||
* | r300/compiler: make ARB_shadow_ambient optional | Marek Olšák | 2010-04-16 | 1 | -0/+1 |
| | | | | | This saves constant register space for r300g, which doesn't need this feature. | ||||
* | r300/compiler: make the max number of fragment shader temporaries adjustable | Marek Olšák | 2010-04-05 | 1 | -0/+1 |
| | |||||
* | r300: clean fog_attr/wpos_attr if code accessing these attributes has been ↵ | Maciej Cencora | 2010-03-24 | 1 | -0/+13 |
| | | | | removed FP during compilation | ||||
* | Replace the _mesa_*printf() wrappers with the plain libc versions | Kristian Høgsberg | 2010-02-19 | 1 | -1/+1 |
| | |||||
* | Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions | Kristian Høgsberg | 2010-02-19 | 1 | -1/+1 |
| | |||||
* | mesa: replace _mesa_bzero() with memset() | Brian Paul | 2010-02-19 | 1 | -1/+1 |
| | |||||
* | Remove _mesa_memcmp in favor of plain memcmp. | Kenneth Graunke | 2010-02-19 | 1 | -1/+1 |
| | | | | This may break the SUNOS4 build, but it's no longer relevant. | ||||
* | r300: fix compiler bugs introduced with MRT changes. | Dave Airlie | 2010-02-03 | 1 | -0/+1 |
| | | | | | | | the first looks like a definite bug, the second I'm not so confident of but it works. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r300compiler, r300 classic, r300g: Add support for MRTs in the frag shader. | Corbin Simpson | 2010-02-02 | 1 | -1/+1 |
| | | | | This maybe breaks the vert compiler. Hopefully not. | ||||
* | Merge branch 'mesa_7_7_branch' | Brian Paul | 2010-01-25 | 1 | -2/+0 |
|\ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/intel/intel_screen.c src/mesa/drivers/dri/intel/intel_swapbuffers.c src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texstate.c | ||||
| * | r300: Remove unnecessary headers. | Vinson Lee | 2010-01-23 | 1 | -2/+0 |
| | | |||||
* | | r300/compiler: add full viewport transformation support in WPOS codegen | Marek Olšák | 2010-01-06 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'master' into r300g-glsl | Nicolai Hähnle | 2009-10-07 | 1 | -0/+13 |
|\ | | | | | | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_tgsi_to_rc.c Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
| * | r300: Workaround problem on R500 with very large fragment programs | Nicolai Hähnle | 2009-10-03 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | | The non-KMS interface is to blame here. In theory, a proper fix could be produced that works for the KMS interface only, but it require cleaning a lot of mess. Easier to just do it right in r300g. Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | | Merge branch 'master' into r300-compiler | Nicolai Hähnle | 2009-10-03 | 1 | -2/+16 |
|\| | |||||
| * | r300: fallback to software rendering if we are out of free texcoords | Maciej Cencora | 2009-09-23 | 1 | -2/+16 |
| | | | | | | | | Fixes #22741 | ||||
* | | Merge branch 'master' into r300-compiler | Nicolai Hähnle | 2009-09-06 | 1 | -1/+1 |
|\| | | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_tgsi_to_rc.c | ||||
| * | r300: Convert to shared debug code. | Pauli Nieminen | 2009-08-31 | 1 | -1/+1 |
| | | |||||
* | | r300: Remove all Mesa dependencies from the shader compiler | Nicolai Hähnle | 2009-08-30 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | In particular, this removes the dependency on prog_instruction, which unfortunately creates some code duplication, but also opens a path towards adding some hardware-specific things in there. Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | | r300: Move Mesa -> RC program conversion to classic Mesa driver | Nicolai Hähnle | 2009-08-30 | 1 | -1/+2 |
|/ | | | | | | | This really doesn't belong into the compiler itself, since the compiler should eventually be independent of Mesa's program representation. Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300: Debug messages are written to stderr, so fflush that | Nicolai Hähnle | 2009-08-27 | 1 | -2/+2 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/compiler: Adapt AllocateHwInputs interface to common usage pattern | Nicolai Hähnle | 2009-07-29 | 1 | -3/+4 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/fragprog: Move wpos_attr and fog_attr where they belong | Nicolai Hähnle | 2009-07-27 | 1 | -11/+10 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/fragprog: Remove hardcoded FRAG_ATTRIB_xxx constants | Nicolai Hähnle | 2009-07-27 | 1 | -0/+48 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/fragprog: Move some of the attribute handling out of the compiler | Nicolai Hähnle | 2009-07-27 | 1 | -0/+69 |
| | | | | | | | Attribute indices will probably be different in Gallium, so make the compiler independent of magic values. Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/fragprog: Finally get rid of the duplicate program copy | Nicolai Hähnle | 2009-07-27 | 1 | -2/+9 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/compiler: Lay groundwork for better error handling | Nicolai Hähnle | 2009-07-27 | 1 | -2/+2 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300: Reduce include dependencies | Nicolai Hähnle | 2009-07-27 | 1 | -0/+2 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300: Introduce rc_program and use it in radeon_pair | Nicolai Hähnle | 2009-07-27 | 1 | -1/+1 |
| | | | | | | | The goal is to convert both Mesa and TGSI programs into an intermediate format that happens to be convenient for us. Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300: Add radeon_compiler as a base for compilation-related tasks | Nicolai Hähnle | 2009-07-27 | 1 | -2/+5 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300: Remove some unnecessary includes | Nicolai Hähnle | 2009-07-27 | 1 | -6/+0 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300: Remove some dependencies on additional fragment program copies | Nicolai Hähnle | 2009-07-27 | 1 | -6/+8 |
| | | | | | | | The copy is still needed because some program transforms add state variables or constants. Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300: Remove GLcontext from r300_fragment_program_compiler | Nicolai Hähnle | 2009-07-27 | 1 | -1/+0 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300: Detangle fragment program compiler from driver-specific structure | Nicolai Hähnle | 2009-07-27 | 1 | -270/+10 |
| | | | | | | | | This is in preparation of sharing the fragment program compiler with Gallium: Compiler code is moved into its own directory and modified so that it no longer depends on driver structures. Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300: Fix fogcoord rewriting | Nicolai Hähnle | 2009-07-13 | 1 | -1/+13 |
| | | | | | | | | | | | | | | | We only care about the actual fogcoord itself now, reducing the rewriting done for the vertex program. The rewriting of source operand swizzles in the fragment program takes care that fogcoord.yzw = 001. This should fix fogcoord rewriting entirely, which had been horribly broken in the face of dot-product instructions, and just broken (though not horribly so) in the face of almost every other instruction (the W component would be incorrect for most arithmetic instructions). Signed-off-by: Nicolai Hähnle <[email protected]> |