1 #include "shared.rsh" 2 3 struct PadMe { 4 int i; 5 float4 f4; 6 int j; 7 } s; 8 9 void verify() { 10 bool failed = false; 11 _RS_ASSERT(s.i == 7); 12 _RS_ASSERT(s.f4.x == 1.0f); 13 _RS_ASSERT(s.f4.y == 2.0f); 14 _RS_ASSERT(s.f4.z == 3.0f); 15 _RS_ASSERT(s.f4.w == 4.0f); 16 _RS_ASSERT(s.j == 9); 17 18 if (failed) { 19 rsSendToClientBlocking(RS_MSG_TEST_FAILED); 20 } else { 21 rsSendToClientBlocking(RS_MSG_TEST_PASSED); 22 } 23 } 24