From c89895fa352f4ccf59151afd73f06febb24709ec Mon Sep 17 00:00:00 2001 From: Konstantin S Bobrovsky Date: Tue, 10 May 2022 17:30:34 -0700 Subject: [PATCH] [ESIMD] Fix rgba smoke test to honor write mask restrictions. Signed-off-by: Konstantin S Bobrovsky --- SYCL/ESIMD/api/esimd_rgba_smoke.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/SYCL/ESIMD/api/esimd_rgba_smoke.cpp b/SYCL/ESIMD/api/esimd_rgba_smoke.cpp index bec67de2c5..dc25e10fe0 100644 --- a/SYCL/ESIMD/api/esimd_rgba_smoke.cpp +++ b/SYCL/ESIMD/api/esimd_rgba_smoke.cpp @@ -205,13 +205,11 @@ int main(void) { auto dev = q.get_device(); std::cout << "Running on " << dev.get_info() << "\n"; bool passed = true; + // Only these four masks are supported for rgba write operations: passed &= test(q); - passed &= test(q); - passed &= test(q); + passed &= test(q); + passed &= test(q); passed &= test(q); - passed &= test(q); - // TODO disabled due to a compiler bug: - //passed &= test(q); std::cout << (passed ? "Test passed\n" : "Test FAILED\n"); return passed ? 0 : 1;