SWDEV-474989 - Fix texture filter test issues

Change-Id: I9b647aff79ba92f07b2ca18eac49d58ae63fa859
This commit is contained in:
taosang2 authored and Tao Sang committed 2024-12-23 07:27:18 -05:00
1 parent a7dd22f97f
commit 8a9ed34f6a
38 file changed
+488 -645

No files matched your search

+1 -1
View File
@@ -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;