SWDEV-474989 - Fix texture filter test issues
Change-Id: I9b647aff79ba92f07b2ca18eac49d58ae63fa859
This commit is contained in:
@@ -148,7 +148,7 @@ hipFabs(const T &t) {
|
||||
}
|
||||
|
||||
template<typename T, hipTextureFilterMode fMode = hipFilterModePoint, bool sRGB = false>
|
||||
bool hipTextureSamplingVerify(T outputData, T expected) {
|
||||
bool hipTextureSamplingVerify(const T &outputData, const T &expected) {
|
||||
bool testResult = false;
|
||||
if (fMode == hipFilterModePoint && !sRGB) {
|
||||
testResult = outputData == expected;
|
||||
|
||||
مرجع در شماره جدید
Block a user