Skip to content
Snippets Groups Projects
Commit 39aee575 authored by Kenneth Graunke's avatar Kenneth Graunke
Browse files

anv: Put MOCS in the correct location


My patch to switch from struct-based MOCS to numeric MOCS accidentally
divided all MOCS entries by 2 in the Vulkan driver.

MOCS on Gen9+ is just an array index into a table.  But in the hardware
packets, the index starts at bit 1.  So we need to shift it.

Fixes: 0b44644c (genxml: Consistently use a numeric "MOCS" field)
Reviewed-by: default avatarJason Ekstrand <jason@jlekstrand.net>
parent 9a918050
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