Skip to content
  1. May 01, 2019
    • Kenneth Graunke's avatar
      GACK / anv: Use WM::ForceKillPixelEnable instead of ForceThreadDispatchEnable · 0822bef8
      Kenneth Graunke authored
      GACK / this affects the STC PMA equation...
      
      Our PMA stall calculations (both Gen8 Z/NP and Gen9 STC) assume that
      3DSTATE_WM::ForceThreadDispatchEnable is never enabled.  We started
      using it a while back, and didn't account for that, breaking the PMA
      conditions.  Taking it into account properly would effectively disable
      the PMA stall workarounds, which isn't what we want either.
      
      Instead, we can use 3DSTATE_WM::ForceKillPixelEnable, which affects
      WM_INT::PixelShaderKillPixel, informing WM_INT::ThreadDispatchEnable,
      causing the thing we want to happen.  It has the same "don't use this"
      warning as 3DSTATE_WM::ForceThreadDispatchEnable, but hopefully should
      be no worse, and doesn't mess up the PMA stall.
      0822bef8
  2. Apr 30, 2019
Loading