summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_state_inlines.h
AgeCommit message (Collapse)Author
2010-02-14r300: add half_float_vertex supportMarek Olšák
2010-02-14r300g: fix texture formats: A4R4G4B4_UNORM, A1R5G5B5_UNORM, R5G6B5_UNORMMarek Olšák
2010-02-14r300g: Use util_format_name().José Fonseca
2010-02-12gallium: make max_anisotropy a unsigned bitfield memberRoland Scheidegger
saves us a dword in sampler state, hw can't do non-integer aniso degree anyway. To allow aniso 1x (which seems of dubious value but some hardware (radeons) have such a mode, and even d3d allows specifiying it) redefine anisotropic filtering as disabled only if max_anistropy is 0.
2010-01-30r300g: Dual-source blending isn't possible, period.Corbin Simpson
2010-01-30r300g: Add alpha render targets.Mathias Fröhlich
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com> Tested-by: Mathias Fröhlich <Mathias.Froehlich@gmx.net>
2010-01-18r300g: fix vertex data swizzleMarek Olšák
2010-01-17r300g: fix vertex colors with 8 bits per channelMarek Olšák
The piglit BGRA tests pass now.
2010-01-06r300g: add missing is_anistropic paramBrian Paul
2010-01-06gallium: remove PIPE_TEX_FILTER_ANISOLuca Barbieri
This patch removes PIPE_TEX_FILTER_ANISO. Anisotropic filtering is enabled if and only if max_anisotropy > 1.0. Values between 0.0 and 1.0, inclusive, of max_anisotropy are to be considered equivalent, and meaning to turn off anisotropic filtering. This approach has the small drawback of eliminating the possibility of enabling anisotropic filter on either minification or magnification separately, which Radeon hardware seems to support, is currently support by Gallium but not exposed to OpenGL. If this is actually useful it could be handled by splitting max_anisotropy in two values and adding an appropriate OpenGL extension. NOTE: some fiddling & reformatting by keithw to get this patch to apply. Hopefully nothing broken in the process.
2009-12-17s/desc->type/desc->channel[0].type/Michal Krol
2009-12-09Revert "Simplify the redundant meaning of format layout."Michal Krol
This reverts commit eb926ddf9eee1095c7fc12013f0b8375bbaeca6f.
2009-12-08Simplify the redundant meaning of format layout.Michal Krol
We really just need to know whether the format is compressed or not. For more detailed information format colorspace should suffice.
2009-12-08Format layout cannot be used to distinguish scaled/normalised formats.Michal Krol
2009-12-08Remove remaining pipe format utility functions.Michal Krol
Depricate pf_type(), pf_size_*(), pf_layout() and pf_exp2(). Map depricated PIPE_FORMAT_TYPE to new UTIL_FORMAT_ values: UNKNOWN = TYPE_VOID UNORM = TYPE_UNSIGNED + LAYOUT_ARITH SNORM = TYPE_SIGNED + LAYOUT_ARITH FIXED = TYPE_FIXED FLOAT = TYPE_FLOAT USCALED = TYPE_UNSIGNED + LAYOUT_ARRAY SSCALED = TYPE_SIGNED + LAYOUT_ARRAY SRGB = TYPE_COLORSPACE_SRGB
2009-12-03Remove pf_swizzle_* internal macros.Michal Krol
2009-11-07r300g: Organize inlined state.Corbin Simpson
2009-11-07r300g: DCE.Corbin Simpson
This must never have been called before; it's completely wrong.
2009-11-07r300g: Be more verbose in what's killing us WRT vert formats.Corbin Simpson
2009-11-04r300g: add polygon modeMarek Olšák
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-11-01r300g: Adopt osiris' PSC data and swizzle.Corbin Simpson
A fair amount more flexible and easier to maintain.
2009-10-22r300g: Enable more stuff in r300_screen, cleanup comments.Corbin Simpson
Also enable 24-bit depth buffers without stencil.
2009-10-22r300g: Cleanup PSC setup math a bit and stop using Draw formats.Corbin Simpson
2009-10-21r300g: Update comments, function names in r300_state_inlines.Corbin Simpson
2009-10-21r300g: Cleanup header includes.Corbin Simpson
2009-10-12r300g: Clean up texture formats.Corbin Simpson
2009-10-04r300g: xRGB and RGBx formats.Corbin Simpson
We now have 48 GLX visuals. Pretty soon, we'll have 90+ visuals, only five of which ever get tested. :3
2009-08-18Revert "r300-gallium, radeon-gallium: Nuke gb_pipes from orbit."Corbin Simpson
This reverts commit 6a40d1e9d96f8e8c57bc3bbd6f567cacd4471f59. Turns out that we *do* need these for OQ after all. Go figure. Conflicts: src/gallium/winsys/drm/radeon/core/radeon_r300.h
2009-05-17r300-gallium, radeon-gallium: Nuke gb_pipes from orbit.Corbin Simpson
See the previous commit for an explanation. This is just all the support code for GB_TILE_CONFIG.
2009-03-30r300-gallium: Allow surface_fill to clear depth/stencil buffers too.Corbin Simpson
2009-03-20r300-gallium: Clean up some emit, and some state handlers.Corbin Simpson
2009-03-11r300-gallium: Fix texture filters.Corbin Simpson
2009-03-10r300-gallium: Fix a handful of compiler warnings.Corbin Simpson
Missing INLINE, missing declarations, extraneous definitions. The usual.
2009-03-07r300-gallium: Correct vertex format setup, cleanup regs and debugging.Corbin Simpson
trivial/point no longer hardlocks.
2009-03-07r300-gallium: A bit more vertex format fixup.Corbin Simpson
2009-02-28r300-gallium: Fix hardlocks on trivial/clear.Corbin Simpson
I'm so happy I could cry.
2009-02-28r300-gallium: Move maths from r300_state to r300_state_inlines.Corbin Simpson
2009-02-28r300-gallium: Cleanup color formats.Corbin Simpson
2009-02-28r300-gallium: Move all state translators to r300_state_inlines.Corbin Simpson
Tryin' to do some cleanup.
2009-02-22r300-gallium: Add pipe_format translators and apply themJoakim Sindholt