mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
style: format code using clang-format 15.0.6
Related-To: NEO-7500 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a4794e432d
commit
43b790957d
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2022 Intel Corporation
|
||||
* Copyright (C) 2018-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -63,7 +63,7 @@ TEST_P(CreateSampler, GivenModeWhenSamplerIsCreatedThenParamsAreSetCorrectly) {
|
||||
EXPECT_EQ(addressingMode, sampler->getAddressingMode());
|
||||
EXPECT_EQ(filterMode, sampler->getFilterMode());
|
||||
|
||||
//check for SnapWA
|
||||
// check for SnapWA
|
||||
bool snapWaNeeded = addressingMode == CL_ADDRESS_CLAMP && filterMode == CL_FILTER_NEAREST;
|
||||
auto snapWaValue = snapWaNeeded ? iOpenCL::CONSTANT_REGISTER_BOOLEAN_TRUE : iOpenCL::CONSTANT_REGISTER_BOOLEAN_FALSE;
|
||||
EXPECT_EQ(snapWaValue, sampler->getSnapWaValue());
|
||||
|
||||
Reference in New Issue
Block a user