anv: Don't disable the fragment shader if XFB is enabled
It turns out that we need a fragment shader for streamout. Whh? From Lionel's reading of simulator sources, it seems the streamout unit is looking at enabled next stages. It'll generate output to the clipper in the following cases : - 3DSTATE_STREAMOUT::ForceRendering = ON - PS enabled - Stencil test enabled - depth test enabled - depth write enabled - some other depth/hiz clear condition Forcing rendering without a PS seems like a recipe for hangs so it's probably better to just enable the PS in this case. Fixes: 36ee2fd6 ("anv: Implement the basic form of VK_EXT_transform_feedback") Reviewed-by:Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <mesa/mesa!16506> (cherry picked from commit 0d28de21)
Loading
Please register or sign in to comment