diff options
author | Daniel Vetter <[email protected]> | 2011-09-25 15:53:55 +0200 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2011-10-07 14:31:16 +0200 |
commit | 8dd523b2dfdcda27a0afc449b169f2c26bf73527 (patch) | |
tree | 4509d15b413ebb6fe3fd8c76ee1cd5d6b4a96aac /src/glx/render2.c | |
parent | 305bcda4b583641bab5a7bfa6ce4e30a8559a868 (diff) |
i915g: fixup clear params emission
Docs say that default shader input color input need to be spec
as ARGB8888. And a clear rect prim essentially uses this value
instead of default diffuse. Depth on the other hands is an ieee
32 bit float. Clear stencil is U8.
Completely different are the clear values for zone init prims.
These are speced in the actual output pixel layout (and need
to be repeated for 16 bit formats).
Clear up the confusion by adding some comments.
v2: Retain the target swizzling support added by Stephan Marchesin.
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'src/glx/render2.c')
0 files changed, 0 insertions, 0 deletions