From: Marek Olšák Date: Sun, 23 Sep 2018 03:57:05 +0000 (-0400) Subject: radeonsi: don't set the VS prolog key for the blit VS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0b062f0419a06c703cbd78f916c64628d344b1be;p=mesa.git radeonsi: don't set the VS prolog key for the blit VS --- diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c index 157a0e37eb0..0bf783fc17e 100644 --- a/src/gallium/drivers/radeonsi/si_state_shaders.c +++ b/src/gallium/drivers/radeonsi/si_state_shaders.c @@ -1194,7 +1194,8 @@ static void si_shader_selector_key_vs(struct si_context *sctx, struct si_shader_key *key, struct si_vs_prolog_bits *prolog_key) { - if (!sctx->vertex_elements) + if (!sctx->vertex_elements || + vs->info.properties[TGSI_PROPERTY_VS_BLIT_SGPRS]) return; prolog_key->instance_divisor_is_one =