summaryrefslogtreecommitdiff
path: root/src/r600_shader.c
AgeCommit message (Collapse)Author
2016-06-01EXA/6xx/7xx: fast solid pixmap supportTan Hu
Solid pixmaps are currently implemented with scratch pixmaps, which is slow. This replaces the hack with a proper implementation. The Composite shader can now either sample a src/mask or use a constant value. r6xx still be used on some machine, Ported from commit 94d0d14914a025525a0766669b556eaa6681def7. Signed-off-by: Tan Hu <tan.hu@zte.com.cn> Reviewed-by: Grigori Goronzy <greg@chown.ath.cx>
2012-05-11radeon: use GB_GR and BG_RG formats for packed yuv video for r600+Roland Scheidegger
Those formats were invented for exactly that purpose so use them. This saves some code and also some hw resources (only need one sampler instead of two for packed yuv). Only tested on EG.
2011-02-11kms: 6xx/7xx big endian accel supportCédric Cano
agd5f: minor cleanups Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-11-296xx/7xx: clean up gpr/const handling in shadersAlex Deucher
2010-11-29r6xx/r7xx use dot4 for transformsAlex Deucher
2010-07-30r6xx/r7xx: unify composite mask and non-mask pixel shaderAlex Deucher
2010-07-30r6xx/r7xx: clean up composite vertex shaderAlex Deucher
keep CF, ALU, Fetch instructions in separate groups
2010-06-24r6xx shader: use ADDR() for CF_DWORD0Alex Deucher
no change in functionality
2009-11-16r600: fix num format in vtx fetchAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-06-08R6xx/r7xx: don't clamp tex coords in composite VSAlex Deucher
Fixes broken repeat modes. see fdo bugs 21818, 22139
2009-05-13R6xx/R7xx Xv: normalize texture coordinates in the vertex shaderAlex Deucher
2009-05-13R6xx/R7xx: do EXA transforms in the vertex shaderAlex Deucher
2009-04-17R6xx/R7xx: implement Xv attributesAlex Deucher
- brightness, contrast, hue, etc. - TODO: implement gamma
2009-03-26R6xx/R7xx EXA: rework composite pixel shaderAlex Deucher
- move to vram storage - move swizzle logic to tex setup
2009-03-02R6xx/R7xx EXA: combine composite mask/non-mask VSAlex Deucher
Also fix set_bool_const() the CF bool consts are not contiguous by shader type There are 96 boolean constants (32 each for PS, VS, GS) and they are ordered as follows: ps, vs, gs ... ps, vs, gs
2009-03-02R6xx/R7xx Xv: combine packed and planar shadersAlex Deucher
use a bool const to select the tex fetch routine
2009-03-01R6xx/R7xx: move shaders to r600_shader.c and fixup Xv PSChristian Koenig
patches from Christian Koenig with some adjustments from me