summaryrefslogtreecommitdiff
path: root/src/sna/brw/brw.h
AgeCommit message (Collapse)Author
2012-08-01sna/gen4+: Implement an opacity shaderChris Wilson
Avoid the cumbersome lookup through the alpha gradient texture and simply multiply the incoming opacity value. The next step will be to reduce the number of floats required per vertex. Now that we have removed the primary user of the alpha solid cache, it may be time to retire that as well. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-07-31sna: Generate shaders for SNB+ 8-pixel dispatchChris Wilson
Not ideal yet, sampling an alpha-only surface using SIMD8 only seems to ever return 0... Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-07-30sna: Assemble SF and WM kernels using brwChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>