summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_state.c
AgeCommit message (Collapse)Author
2009-01-14radeon/r200/r300: attempt to move lock to common codeDave Airlie
2008-11-14r300: cs + DRI2 supportJerome Glisse
If DRI2 is enabled then switch cmd assembly to directly build hw packet.
2008-11-14r300: bo and cs abstraction.Jerome Glisse
This abstract memory management and command stream building so we can use different backend either legacy one which use old pathway or a new one like with a new memory manager. This works was done by : Nicolai Haehnle Dave Airlie Jerome Glisse
2008-09-18mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul
Makefile.template
2008-08-19r5xx: Final fog option fix.Corbin Simpson
Is there some kind of git hook we could use to keep me from committing after like 10PM or so?
2008-08-19r5xx: Don't squish GL context when using FogOptionCorbin Simpson
2008-08-18r5xx: Enable fog options.Corbin Simpson
This uses fog HW instead of fragment programs. If it breaks you, let me know!
2008-07-27r300: Fix point minmax sizeNicolai Haehnle
There are 6 subpixel units per pixel, not 16.
2008-07-27r300: Implement hardware acceleration for ColorLogicOpNicolai Haehnle
2008-07-12r300_fragprog: Use nqssa+dce and program_pair for emitNicolai Haehnle
Share almost all code with r500_fragprog now. This also fixes Piglit's texrect-many test, which means that the compiz bicubic plugin should work with hardware acceleration now.
2008-07-11R300: update vap_cntl values for NUM_FPUSAlex Deucher
based on info from hw team
2008-07-06r300: Allow adding parameters during fragprog transform, share LIT codeNicolai Haehnle
2008-07-05r500: Fix blend color.Nicolai Haehnle
2008-06-30r3xx/r5xx: Enable ARB_point_parameters.Corbin Simpson
This isn't complete yet. It does cover the two most common usage cases, though, and at least the third one (POINT_DISTANCE_ATTENUATION) is possible, so I'll do that later.
2008-06-30r300: Fix dumb mistake in LOD bias translationNicolai Haehnle
2008-06-30r300: Cleanup LodBias supportNicolai Haehnle
. There is both a per-texture unit and a per-texture object (at least for OpenGL 1.4); this should now be supported properly. . The LOD bias calculation in r300_state has been simplified and corrected (need to multiply by 32 instead of 31, and ensure clamping) . do not clamp LOD bias in TexEnv, as that behaviour conflicts with what the spec says . set Const.MaxTextureLodBias properly . remove the no_neg_lod_bias property; if somebody can explain what it's good for, we can add it back in, but according to Google, nobody seems to use it . removed some dead code and unused variables
2008-06-29r300: Change LOD bias emission to more closely follow per-tex rules.Corbin Simpson
Okay, this time it's for real, and for good. This should be a perma-fix.
2008-06-29r300: Fix wrap mode for 1D texturesNicolai Haehnle
2008-06-21replace __inline and __inline__ with INLINE macroBrian Paul
2008-06-16r300: Make LOD bias a persistent environment variable.Corbin Simpson
Per airlied's suggestion.
2008-06-14r5xx: FP refactor, take one.Corbin Simpson
Yes, I know it's massive. Imagine how I felt, auditing 3000 lines of code.
2008-06-14r300: Do not include r300_fragprog.h from r300_context.h and other cleanupsNicolai Haehnle
2008-06-14r300_fragprog: Refactoring and cleanupNicolai Haehnle
Refactor so that r300_pfs_compile_state "owns"/holds a pointer to r300_fragment_program instead of the other way round. This is more natural from an object orientation point of view. Move the compiled hardware state into r300_fragment_program_code, in anticipation of on-the-fly program recompilation based on external OpenGL state.
2008-06-13r300: Reenable t->filter_1 (though currently not used)Nicolai Haehnle
2008-06-07r300: Some cleanups in depth and stencil state handlingNicolai Haehnle
This also fixes a bug with Zfunc set to GL_NEVER in glean/paths.
2008-06-06r300: Cleanup TX_MIN_FILTER definesNicolai Haehnle
This commit should not affect the functionality at all, just cleanup some of the original texture filter guesswork using information from the register documentation.
2008-06-01r5xx: Enable depth write emission.Corbin Simpson
Thanks to nh for the r3xx version.
2008-06-01r300: Writing to result.depth in fragment programs (R3xx; only stub for R5xx)Nicolai Haehnle
Setup fg_depth_src for depth writing programs and change early Z (ztop) semantics. Piglit's version of glean/fragprog test passes now (unlike Glean, its dependency on EXT_fog_coord, which we don't support, is optional). R3xx only at the moment, but should be straightforward to adapt to R5xx (I don't own an R5xx, and I don't want to break anything.)
2008-06-01[r300] Fix KIL instruction and swizzling of texture coordinatesNicolai Haehnle
The KIL instruction only works if at least one texture unit is enabled in hardware. Texture instructions do not support swizzles, negations etc. natively, so we now emit an explicit swizzling etc. operation when the texture coordinate requires it. This fixes the Piglit fp-kil test.
2008-05-31r500: Use 8bit fog alpha compare value.Markus Amsler
This fixes transparency issues on r500 by enabling backwards compatibility with the r300 alpha compare value.
2008-05-28Merge branch 'r500-support'Dave Airlie
Bring in all the r500 3D code into master should be as stable as the r300 code it is landing on top off. Conflicts: src/mesa/drivers/dri/r300/r300_reg.h src/mesa/drivers/dri/r300/r300_state.c src/mesa/drivers/dri/radeon/radeon_screen.c
2008-05-28R3/4/5xx: update to use drm get_param for num gb pipesAlex Deucher
2008-05-28r500: cleanup warnings and include filesDave Airlie
2008-05-27r500: the cs is shared per context - doh so don't use for program upload.Dave Airlie
Also remove some unused bits of the r500 fragprog struct
2008-05-27r500: reset fp/fp_const countsDave Airlie
2008-05-27r300/r500: emit flush inside vap_cntl state atomDave Airlie
Not sure if this is a good or bad plan, it certainly doesn't make things worse here.
2008-05-27r500: remove debuggingDave Airlie
2008-05-27r300/r500: fix r500 fragment program texture unit referencesDave Airlie
2008-05-27r500: initial support for tmu mappingsDave Airlie
2008-05-21r500: set the RS unit register for R500 not R300 dangnammit..Dave Airlie
So this appears to be my BUG. damn it to hell. also fix sec color to be more like spec says.
2008-05-18r300: fixup US_OUT_FMT bitsDave Airlie
2008-05-18r500: you can have a single texcoordDave Airlie
2008-05-17r500: write out the correct FP registersAlex Deucher
2008-05-15r500: default rsunit swizzle like fglrxDave Airlie
2008-05-15r500: fixup r500 rs unit texture coordinate countingDave Airlie
2008-05-15r3/500: emit RS state before VAPDave Airlie
2008-05-13R300: clean up GA registersAlex Deucher
2008-05-13R3xx: clean up ZB registersAlex Deucher
2008-05-13R300: clean up CB registersAlex Deucher
2008-05-13R300: clean up Fog registersAlex Deucher