Mike Blumenkrantz
c6741f52bd
zink: remove renderpass refcounting
...
this is useless because we never destroy renderpasses during the lifetime
of a process and don't want to do so
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8227 >
2021-01-14 22:11:42 +00:00
Mike Blumenkrantz
354b2f7f75
zink: fix rp hash table
...
hash table keys for inserted items have to be valid memory ranges for the
lifetime of the corresponding entry, so using a stack-allocated key like this
is broken and doesn't accurately return the correct renderpass
Fixes a872f46369
: ("zink: cache render-passes")
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8011 >
2020-12-18 16:45:52 +00:00
Duncan Hopkins
d2bb63c8d4
zink: Use optimal layout instead of general. Reduces valid layer warnings. Fixes RADV image noise.
...
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
2019-10-30 09:09:49 +00:00
Dave Airlie
e234116a96
zink: add samples to rasterizer
...
Acked-by: Jordan Justen <jordan.l.justen@intel.com >
2019-10-28 08:51:45 +00:00
Erik Faye-Lund
8d46e35d16
zink: introduce opengl over vulkan
...
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 <erik.faye-lund@collabora.com >
Acked-by: Jordan Justen <jordan.l.justen@intel.com >
2019-10-28 08:51:43 +00:00