i965: Drop unnecessary brw->gen >= 8 check from scalar VS code.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 25 Mar 2015 22:15:43 +0000 (15:15 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 25 Mar 2015 23:19:26 +0000 (16:19 -0700)
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>
src/mesa/drivers/dri/i965/brw_vec4.cpp

index 918519c93948b4a0366d4d446973c23f1f5ef652..9d2e3751fd935db21202a28f09d77d16e562f8b9 100644 (file)
@@ -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) {