Skip to content

dzn: Only support high/normal queue priorities

Jesse Natalie requested to merge jenatali/mesa:dzn-queue-priority into main

D3D uses an int which seems like it'd support value between 0 and 100, but in reality it only accepts values of exactly 0, or 100. The space is left in case future values were to be added, so that comparisons would work (e.g. MEDIUM_HIGH < HIGH).

Treat higher than 0.5 to be HIGH, and anything less to be NORMAL.

Fixes the Vulkan-Samples samples. /cc @bluestang2006

Merge request reports