Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-07-27 | r300: Move vertex program compilation to compiler | Nicolai Hähnle | |
This is just the first step of refactoring. The separation is not yet clean enough with this commit. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Cleanup vertex_program structure | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Remove faux lazy translation of vertex programs | Nicolai Hähnle | |
De facto, vertex programs were translated immediately in all situations, so let's just stop pretending that we do lazy translation. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Reduce include dependencies | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
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-27 | radeon: Add r6xx/r7xx chip family to get_chip_family_name | Pauli Nieminen | |
This fixes problem that glxinfo was reporting r600+ cards as unknown. Signed-off-by: Pauli Nieminen <suokkos@gmail.com> | |||
2009-07-27 | softpipe: fix off-by-one in nearest texcoord routines | Keith Whitwell | |
Stray '- 0.5' copied from linear versions. | |||
2009-07-27 | softpipe: example fast paths for simple samplers | Keith Whitwell | |
All these fastpaths are examples of the types of things we'd code-generate in a more sophisticated version of softpipe. | |||
2009-07-27 | softpipe: fastpath for interpolated z16 less depthtesting | Keith Whitwell | |
Because this is interpolated (ie. early) depth, we can build in an assumption about the quads emitted by triangle setup, ie that they are actually linear spans. Interpolate z over those spans in z16 format to save on math & conversion. | |||
2009-07-27 | softpipe: cope with nr_cbufs == 0 | Keith Whitwell | |
Disable blend code when no color buffer | |||
2009-07-27 | nouveau: swizzle a single row or column, doing it one pixel at a time | Patrice Mandin | |
2009-07-27 | r600: fix textures | Alex Deucher | |
We weren't allocating enough gprs for the fragment shader in some cases. There are likely other issues that still need to be sorted out for textures, but at least they now work. | |||
2009-07-27 | softpipe: move all depth/stencil/alpha pixel processing into one stage | Keith Whitwell | |
2009-07-27 | r600: don't draw when num indices is 0 | Alex Deucher | |
fixes engine demo | |||
2009-07-27 | r600: set VGT NUM_INSTANCES as part of the draw command | Alex Deucher | |
set VGT NUM_INSTANCES as part of the draw command rather than as state as recommended by the pm4 guide. Also, use the NUM_INSTANCES packet. | |||
2009-07-27 | r600: Use R600_SCRATCH_REG_OFFSET rather than RADEON_SCRATCH_REG_OFFSET | Alex Deucher | |
noticed by vehemens on IRC. | |||
2009-07-27 | r600: switch vtx resource setup to use SETfield macros | Alex Deucher | |
For consistency | |||
2009-07-27 | r600: switch tex code to use SETfield macros | Alex Deucher | |
for consistency with the rest of the code. | |||
2009-07-26 | r300g: Fix two trivial texture size issues. | Corbin Simpson | |
Next thing to fix: progs/tests/mipgen. | |||
2009-07-26 | radeon-gallium: If BO allocation fails, return NULL. | Corbin Simpson | |
2009-07-26 | r300g: Add some debugging, correct little bits of math in texture setup. | Corbin Simpson | |
Simple stuff still works, but not sure about some of the more complex things. | |||
2009-07-26 | nouveau: only swizzle square textures for copy | Patrice Mandin | |
2009-07-26 | util: fix typo. | José Fonseca | |
2009-07-26 | nouveau: Take into account destination position for copy_swizzle, need to ↵ | Patrice Mandin | |
split copy a bit more | |||
2009-07-26 | nouveau: Recursively swizzle an NPOT sized copy | Patrice Mandin | |
2009-07-25 | softpipe: fix error in scissor state dependencies | Keith Whitwell | |
2009-07-25 | softpipe: cleanup framebuffer state routine slightly | Keith Whitwell | |
2009-07-24 | ARB prog: Layout parameters from parameter type, not src type | Ian Romanick | |
Use the type stored in the Parameters array to determine the layout instead of the type in the instruction register field. Also, update the instruction register field based on the parameter type. This makes Google Earth work exactly like with Mesa master. | |||
2009-07-24 | ARB prog: _mesa_print_program output should go to same place as _mesa_printf | Ian Romanick | |
2009-07-24 | ARB prog parse: Fix cut-and-paste error for constant vectors | Ian Romanick | |
2009-07-24 | ARB prog: get frag prog texture info from the right place | Ian Romanick | |
This gets basic texturing working. w00t! | |||
2009-07-24 | nouveau: use nv04_surface_copy_swizzle only for POT sizes | Patrice Mandin | |
2009-07-24 | softpipe: move all color-combine code into sp_quad_blend.c | Keith Whitwell | |
Consolidate the read-modify-write color combining code from the blend, colormask and output stages. | |||
2009-07-24 | softpipe: fix typo | Keith Whitwell | |
2009-07-24 | softpipe: example fastpaths in blending | Keith Whitwell | |
2009-07-24 | softpipe: actually pass >1 quad from triangle routine | Keith Whitwell | |
First attempt | |||
2009-07-24 | softpipe: expand quad pipeline to process >1 quad at a time | Keith Whitwell | |
This is part one -- we still only pass a single quad down, but the code can now cope with more. The quads must all be from the same tile. |