Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-07-27 | r300: Introduce rc_program and use it in radeon_pair | Nicolai Hähnle | |
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 <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Add radeon_compiler as a base for compilation-related tasks | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Remove some unnecessary includes | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/compiler: Compile the compiler seperately into an archive | Nicolai Hähnle | |
This is all part of untangling the compiler from the classic driver, so that it may be used in Gallium without depending on Mesa stuff if possible Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Further reduce dependency between compiler and classic driver | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Remove some dependencies on additional fragment program copies | Nicolai Hähnle | |
The copy is still needed because some program transforms add state variables or constants. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Remove GLcontext from r300_fragment_program_compiler | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Remove GLcontext requirement from radeonLocalTransform | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Remove unused enums | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Remove GLcontext requirement from radeon_nqssadce | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Remove GLcontext requirement from radeon_program_pair | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/program_pair: Introduce driver-specific texture instruction structure | Nicolai Hähnle | |
This is to prepare more experimentation and possible internal changes in the compiler. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/program_pair: Dynamically allocate instructions temporarily | Nicolai Hähnle | |
In preparation of using TGSI, where we cannot easily predict the number of instructions. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Detangle fragment program compiler from driver-specific structure | Nicolai Hähnle | |
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 <nhaehnle@gmail.com> | |||
2009-07-22 | r300: fix address register handling in NQSSADCE | Maciej Cencora | |
For address register we always use X component | |||
2009-07-21 | Track Radeon driver symlinks in Git. | Michel Dänzer | |
2009-07-15 | r300: emit z depth pitch reloc in preparation for tiling | Dave Airlie | |
2009-07-15 | intel/radeon: add common metaops code. | Dave Airlie | |
Move all the metaops to a dri_metaops file and port radeon/intel to use the new common meta ops code. | |||
2009-07-14 | radeon: Differentiate 16 bpp destination formats. | Michel Dänzer | |
Fixes those formats in fbo_firecube. Only tested with r300, radeon and r200 compile tested only. | |||
2009-07-14 | radeon: Invert front face winding when rendering to FBO. | Michel Dänzer | |
Fixes fgl_glxgears and progs/demos/fbotexture after pressing 'c'. Tested with r300, radeon and r200 compile tested only. | |||
2009-07-13 | r300: always assume all components are read by fragment program | Maciej Cencora | |
Components of input attributes that are used by fragment program aren't part of vertex program key, and that may lead to situations when vertex program writes only TEX1.xy and fragment program reads TEX1.xyz, resulting in rendering errors. Reported-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-13 | r300: Fix fogcoord rewriting | Nicolai Hähnle | |
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 <nhaehnle@gmail.com> | |||
2009-07-13 | r300: fix swizzle masking in getUsedComponents | Maciej Cencora | |
2009-07-13 | r300: minor fix | Maciej Cencora | |
Split initializations becase the vars are of different type. Reported-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-13 | r300: move variables declarations | Maciej Cencora | |
2009-07-13 | r300: document r300_vertex_program_cont structure | Maciej Cencora | |
Reported-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-13 | r300: document r300_fragment_program_cont struct | Maciej Cencora | |
2009-07-13 | r300: fix indentation | Maciej Cencora | |
Reported-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-13 | r300: fix StrideB == 0 case when converting data format | Maciej Cencora | |
Reported-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-13 | r300: hw can handle per component negations in vertex shaders | Maciej Cencora | |
Reported-by: Nicolai Haehnle <nhaehnle@gmail.com> | |||
2009-07-13 | r300: fix WPOS for SWTCL | Maciej Cencora | |
2009-07-13 | r300: removed unnecessary params | Maciej Cencora | |
We don't have check which attributes are used by fragment program - it's already done by NQSSADCE. | |||
2009-07-13 | r300: use NQSSADCE for vertex programs | Maciej Cencora | |
2009-07-13 | r300: operate on copy of a program when pairing instructions | Maciej Cencora | |
We need to keep unpaired program for vertex program NQSSADCE. | |||
2009-07-13 | r300: handle relative addressing in NQSSADCE | Maciej Cencora | |
2009-07-13 | r300: handle ARB_vertex_program specific instructions in NQSSADCE | Maciej Cencora | |
2009-07-13 | r300: move depth output rewrite out of NQSSADCE | Maciej Cencora | |
2009-07-13 | r300: rewrite FOGC and HPOS attribs handling | Maciej Cencora | |
Rewrite vertex and fragment programs so that we don't have to do any hacks on lower level. | |||
2009-07-13 | r300: bind vertex program to fragment program | Maciej Cencora | |
2009-07-13 | r300: recalculate used inputs and outputs after dead code removal | Maciej Cencora | |
2009-07-13 | r300: move fragment program selection before vertex program selection | Maciej Cencora | |
Prepare for wpos and fogc handling rewrite. | |||
2009-07-13 | r300: implement proper IsProgramNative check for vertex programs | Maciej Cencora | |
2009-07-13 | r300: don't modify original vertex program | Maciej Cencora | |
Keep the original vertex program untouched because it may be needed after some state change for generating new r300 specific vertex program. | |||
2009-07-13 | r300: cache translated fragment programs | Maciej Cencora | |
2009-07-13 | r300: update state parameters only once per rendering operation | Maciej Cencora | |
2009-07-13 | r300: translate non native insts earlier for easier debugging | Maciej Cencora | |
2009-07-13 | r300: print vertex program after adding artificial output insts | Maciej Cencora | |
2009-07-13 | r300: use mesa provided function for adding MVP code | Maciej Cencora | |
2009-07-13 | r300: simplify insert_wpos a little | Maciej Cencora | |
2009-07-12 | r300: move fallback warnings inside fallback debugging | Dave Airlie | |
random output is bad |