Skip to content

anv: limit number of MI_MATH ALU instruction we can do on a given Gen

On HSW & Gen8, MI_MATH DWord Length is limited to 64, while it is BDW it is 256. We need to take this into account when generating a shift operation that can potentially go over a given generation's limit.

Signed-off-by: Lionel Landwerlin Fixes: 2be89cbd ("anv: Implement vkCmdDrawIndirectByteCountEXT")

Merge request reports