summaryrefslogtreecommitdiff
path: root/src/sna/brw
AgeCommit message (Collapse)Author
2012-08-05sna: Format markup to suppress compiler warningChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-08-01sna: Fix computation of st values for SIMD8 dispatchChris Wilson
Fixes regression with enabling 8-pixels. Reported-by: Mehran Kholdi <semekh.dev@gmail.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53044 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
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>
2012-07-30sna: Add the brw assemblerChris Wilson
In order to construct programs on the fly to cater for the combinatorial number of possible shaders, we need an assembler, whilst also taking the opportunity to remove some of the inefficiencies and mistakes from the current shaders. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>