Skip to content
Snippets Groups Projects
Commit 23383aa4 authored by Faith Ekstrand's avatar Faith Ekstrand :speech_balloon: Committed by Eric Engestrom
Browse files

zink: Align descriptor buffers to descriptorBufferOffsetAlignment


Instead of aligning offsets, we just align the size every time we query
it.  This simplifies our offset and size calculations later since we can
always just add up descriptor buffer sizes and know that we'll be okay.

Acked-by: default avatarMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fixes: 7ab5c5d3 ("zink: use EXT_descriptor_buffer with ZINK_DESCRIPTORS=db")
Part-of: <mesa/mesa!30580>
(cherry picked from commit 0f8f407e)
parent 4a0304c5
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment