i965/vec4: Update register coalescing test.
authorMatt Turner <mattst88@gmail.com>
Fri, 29 Aug 2014 03:16:42 +0000 (20:16 -0700)
committerMatt Turner <mattst88@gmail.com>
Sun, 31 Aug 2014 04:00:28 +0000 (21:00 -0700)
In commit 04895f5c I added support for reswizzling writemasks. This test
was checking that we didn't support this.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82881

src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp

index 149174cebfcb45262078729379be1add62fd43d9..16e6270a04427cce6db5e3a14e96f9fbdeb1a0e0 100644 (file)
@@ -241,8 +241,5 @@ TEST_F(register_coalesce_test, test_channel_mul_grf)
 
    register_coalesce(v);
 
-   /* This path isn't supported yet in the reswizzling code, so we're checking
-    * that we haven't done anything bad to scalar non-DP[234]s.
-    */
-   EXPECT_NE(mul->dst.reg, to.reg);
+   EXPECT_EQ(mul->dst.reg, to.reg);
 }