summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2015-03-25 15:15:43 -0700
committerKenneth Graunke <kenneth@whitecape.org>2015-03-25 16:19:26 -0700
commitef09cfb51e0c1cc9e3c6f370813a843a6ecaa4e2 (patch)
treed6a74819b8f826d8fe0959dbd3f825419776fe8d
parent649173b473ded2d7b1aded91cd4aab42eaeb5766 (diff)
downloadexternal_mesa3d-ef09cfb51e0c1cc9e3c6f370813a843a6ecaa4e2.zip
external_mesa3d-ef09cfb51e0c1cc9e3c6f370813a843a6ecaa4e2.tar.gz
external_mesa3d-ef09cfb51e0c1cc9e3c6f370813a843a6ecaa4e2.tar.bz2
i965: Drop unnecessary brw->gen >= 8 check from scalar VS code.
brw->scalar_vs already implies that brw->gen >= 8. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp
index 918519c..9d2e375 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp
@@ -1823,7 +1823,7 @@ brw_vs_emit(struct brw_context *brw,
if (unlikely(INTEL_DEBUG & DEBUG_VS))
brw_dump_ir("vertex", prog, &shader->base, &c->vp->program.Base);
- if (prog && brw->gen >= 8 && brw->scalar_vs) {
+ if (prog && brw->scalar_vs) {
fs_visitor v(brw, mem_ctx, &c->key, prog_data, prog, &c->vp->program, 8);
if (!v.run_vs()) {
if (prog) {