Skip to content

Commit dc955bd

Browse files
committed
Merge branch 'master' into erfan_device_features
2 parents 224245f + a537535 commit dc955bd

File tree

1 file changed

+2
-2
lines changed
  • examples_tests/48.ArithmeticUnitTest

1 file changed

+2
-2
lines changed

examples_tests/48.ArithmeticUnitTest/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ bool runTest(
247247
{
248248
// TODO: overlap dispatches with memory readbacks (requires multiple copies of `buffers`)
249249

250-
cmdbuf->begin(IGPUCommandBuffer::ERF_RELEASE_RESOURCES_BIT);
250+
cmdbuf->begin(IGPUCommandBuffer::EU_NONE);
251251
cmdbuf->bindComputePipeline(pipeline);
252252
cmdbuf->bindDescriptorSets(asset::EPBP_COMPUTE,pipeline->getLayout(),0u,1u,&ds);
253253
const uint32_t workgroupCount = BUFFER_DWORD_COUNT/workgroupSize;
@@ -305,7 +305,7 @@ class ArythmeticUnitTestApp : public NonGraphicalApplicationBase
305305
void onAppInitialized_impl() override
306306
{
307307
CommonAPI::InitOutput initOutput;
308-
CommonAPI::InitWithNoExt(initOutput, video::EAT_VULKAN, "Subgroup Arithmetic Test");
308+
CommonAPI::InitWithNoExt(initOutput, video::EAT_OPENGL, "Subgroup Arithmetic Test");
309309
gl = std::move(initOutput.apiConnection);
310310
gpuPhysicalDevice = std::move(initOutput.physicalDevice);
311311
logicalDevice = std::move(initOutput.logicalDevice);

0 commit comments

Comments
 (0)