SB needs fixes for three GS instructions it seems to raise
them outside loops etc despite my best efforts.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
return r;
}
+ /* disable SB for geom shaders - it can't handle the CF_EMIT instructions */
+ use_sb &= (shader->shader.processor_type != TGSI_PROCESSOR_GEOMETRY);
+
/* Check if the bytecode has already been built. When using the llvm
* backend, r600_shader_from_tgsi() will take care of building the
* bytecode.