summaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorAlex Smith <[email protected]>2017-04-12 09:20:42 +0100
committerBas Nieuwenhuizen <[email protected]>2017-04-12 20:58:41 +0200
commit4603bea1aa0879656f7efb1e19197488bfdb1f41 (patch)
tree6c5cbd0db4b77b5bf9fc9ee93fe90ae6310f824d /src/compiler
parentab18578b0306adb437ceb6f7ea510f42a8effae4 (diff)
radv: Disable primitive restart for non-indexed draws
According to the Vulkan spec, VkPipelineInputAssemblyStateCreateInfo's primitiveRestartEnable flag should only apply to indexed draws, however it was being enabled regardless of the type of draw. This could cause problems for non-indexed draws with >=65535 vertices if the previous indexed draw used 16-bit indices. Fixes corruption of the credits text in Mad Max. v2: Reset primitive restart state after executing a secondary command buffer. Signed-off-by: Alex Smith <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/compiler')
0 files changed, 0 insertions, 0 deletions