Module: Mesa
Branch: staging/23.0
Commit: f6a8dfe7e1f63e8248562f8a54209ddc8d7b4181
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f6a8dfe7e1f63e8248562f8a54209ddc8d7b4181

Author: Jesse Natalie <[email protected]>
Date:   Tue Feb  7 11:17:03 2023 -0800

microsoft/clc: Set features that are used by CL tests

Reviewed-by: Karol Herbst <[email protected]>
(cherry picked from commit e9ab33c9a18fa8160f38cffab19733d405455026)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21467>

---

 src/microsoft/clc/compute_test.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/microsoft/clc/compute_test.cpp 
b/src/microsoft/clc/compute_test.cpp
index 9a2d2e9e5ec..f3ee0efeedc 100644
--- a/src/microsoft/clc/compute_test.cpp
+++ b/src/microsoft/clc/compute_test.cpp
@@ -795,6 +795,9 @@ ComputeTest::compile(const std::vector<const char *> 
&sources,
    };
    args.args = compile_args.data();
    args.num_args = (unsigned)compile_args.size();
+   args.features.images = true;
+   args.features.images_read_write = true;
+   args.features.int64 = true;
    ComputeTest::Shader shader;
 
    std::vector<Shader> shaders;

Reply via email to