Age | Commit message (Collapse) | Author |
|
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>
|
|
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.
|
|
agd5f: minor cleanups
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
|
|
|
|
|
|
keep CF, ALU, Fetch instructions in separate groups
|
|
no change in functionality
|
|
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
Fixes broken repeat modes. see fdo bugs 21818, 22139
|
|
|
|
|
|
- brightness, contrast, hue, etc.
- TODO: implement gamma
|
|
- move to vram storage
- move swizzle logic to tex setup
|
|
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
|
|
use a bool const to select the tex fetch routine
|
|
patches from Christian Koenig with some adjustments from me
|