aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/zink/zink_state.c
Commit message (Collapse)AuthorAgeFilesLines
* zink: fix line-width calculationDuncan Hopkins2019-10-281-3/+16
| | | | | | | | | | | There's two things that goes wrong in this code on some drivers: 1. Rounding off the line-width to granularity can push it outside the legal range. 2. A granularity of 0.0 results in NaN, because we divide by zero. So let's make this code a bit more robust. Acked-by: Jordan Justen <[email protected]>
* zink: don't crash when setting rast-state to NULLErik Faye-Lund2019-10-281-1/+3
| | | | Acked-by: Jordan Justen <[email protected]>
* zink: tweak state handlingErik Faye-Lund2019-10-281-18/+24
| | | | Acked-by: Jordan Justen <[email protected]>
* zink: introduce opengl over vulkanErik Faye-Lund2019-10-281-0/+430
Here's zink, a so far pretty simple vulkan-gallium driver that is able to translate some applications from OpenGL to Vulkan. The compiler is quite limited for now, this will be improved on later. Signed-off-by: Erik Faye-Lund <[email protected]> Acked-by: Jordan Justen <[email protected]>