summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/swr_shader.cpp
Commit message (Collapse)AuthorAgeFilesLines
* swr: push/pop DEBUG macro around llvm includesTim Rowley2016-06-231-3/+7
| | | | | | | | | | llvm redefines DEBUG; adding push/pop prevents a undefined reference to debug_refcnt_state in llvm-3.7+. v2: add undef DEBUG Cc: "12.0" <mesa-stable@lists.freedesktop.org> Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
* swr: implement clipPlanes/clipVertex/clipDistance/cullDistanceTim Rowley2016-06-091-0/+65
| | | | | | | | | | | | | | v2: only load the clip vertex once v3: fix clip enable logic, add cullDistance v4: remove duplicate fields in vs jit key, fix test of clip fixup needed v5: fix clipdistance linkage for slot!=0,4 v6: support clip+cull; passes most piglit clip (failures understood) Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
* swr: fix provoking vertexTim Rowley2016-06-071-7/+5
| | | | | | | | | | Use rasterizer provoking vertex API. Fix rasterizer provoking vertex for tristrips and quad list/strips. v2: make provoking vertex tables static const Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
* swr: fix memory leaks from vs/fs compilationTim Rowley2016-04-221-17/+24
| | | | | | v2: varient -> variant Reviewed by: George Kyriazis <George.Kyriazis@intel.com>
* gallium/swr: Make flat shading tris work.George Kyriazis2016-04-131-0/+4
| | | | | | | - Incorporate flatshade flag into the shader generation - Use provoking vertex (vc) in shader when flat shading. Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
* swr: support samplers in vertex shadersTim Rowley2016-04-121-34/+64
| | | | Reviewed-by: George Kyriazis <george.kyriazis@intel.com>
* gallium/swr: add OpenSWR driverTim Rowley2016-03-021-0/+591
OpenSWR is a new software rasterizer for x86 processors designed for high performance and high scalablility on visualization workloads. Acked-by: Roland Scheidegger <sroland@vmware.com> Acked-by: Jose Fonseca <jfonseca@vmware.com>