Since we're already asking the driver to generate code for a different
hardware than what we're running on, better not even bother with emitting
any batch.

Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
---
 run.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/run.c b/run.c
index 62c19c8..7543b2a 100644
--- a/run.c
+++ b/run.c
@@ -370,6 +370,7 @@ main(int argc, char **argv)
 
             printf("### Compiling for %s ###\n", platform->name);
             setenv("INTEL_DEVID_OVERRIDE", platform->pci_id, 1);
+            setenv("INTEL_NO_HW", "1", 1);
             break;
         }
         case 'j':
-- 
2.11.0

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to