summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vs.c
diff options
context:
space:
mode:
authorTimothy Arceri <timothy.arceri@collabora.com>2016-07-05 17:02:46 +1000
committerTimothy Arceri <timothy.arceri@collabora.com>2016-07-05 20:18:05 +1000
commit8f1ca0ee3ff9e192540325ae42df9577b1ccdf7f (patch)
tree35be50c54070fb0419a83d4d7a92cf8031bdb74c /src/mesa/drivers/dri/i965/brw_vs.c
parent51f912786f420fcfa50a3d3f1b36794cb2714be2 (diff)
downloadexternal_mesa3d-8f1ca0ee3ff9e192540325ae42df9577b1ccdf7f.zip
external_mesa3d-8f1ca0ee3ff9e192540325ae42df9577b1ccdf7f.tar.gz
external_mesa3d-8f1ca0ee3ff9e192540325ae42df9577b1ccdf7f.tar.bz2
i965: make more effective use of SamplersUsed
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vs.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs.c b/src/mesa/drivers/dri/i965/brw_vs.c
index ec913f0..877bcb5 100644
--- a/src/mesa/drivers/dri/i965/brw_vs.c
+++ b/src/mesa/drivers/dri/i965/brw_vs.c
@@ -345,8 +345,7 @@ brw_vs_populate_key(struct brw_context *brw,
}
/* _NEW_TEXTURE */
- brw_populate_sampler_prog_key_data(ctx, prog, brw->vs.base.sampler_count,
- &key->tex);
+ brw_populate_sampler_prog_key_data(ctx, prog, &key->tex);
/* BRW_NEW_VS_ATTRIB_WORKAROUNDS */
memcpy(key->gl_attrib_wa_flags, brw->vb.attrib_wa_flags,