summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-09-22 23:57:05 -0400
committerMarek Olšák <[email protected]>2018-10-02 12:21:49 -0400
commit0b062f0419a06c703cbd78f916c64628d344b1be (patch)
treed43fe393df372423a02ddd4219121aa37a8910a0 /src/gallium/drivers
parent58360ca09d6f3d02c3b1ac444eb7d0d211164bf4 (diff)
radeonsi: don't set the VS prolog key for the blit VS
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/radeonsi/si_state_shaders.c3
1 files changed, 2 insertions, 1 deletions
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 =