summaryrefslogtreecommitdiff
path: root/src/i915_3d.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-11-10 11:00:43 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2009-11-10 15:18:56 +0000
commit998d6b3d8c549086fbc8a9f0e309694b23398d8d (patch)
tree5fbf1ee012f0b270fefd1e212672e9edc7e9d3f9 /src/i915_3d.h
parentdbb68168dc909ab2ec1d935322c3fd8581e666f1 (diff)
uxa: Force alpha bits to fill remaining bits
In the case of x8r8g8b8 and similar where the alpha channel is ignored, but should be interpreted as being 1, then it is convenient if those bits are set appropriately in the colour. In order to do so for these formats, where PIXMAN_FORMAT_A() returns 0 we need to compute the alpha channel width as the remaining bits instead. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/i915_3d.h')
0 files changed, 0 insertions, 0 deletions