Use the correct return type in runTest in 11_texture_driver sample. (#1546)

Fixes SWDEV-203394.
Currently in runTest() returns true, even if the texture reference copy does not happen. Using the existing testResult Flag to return from runTest().

[ROCm/hip commit: fbb98f4950]
이 커밋은 다음에 포함됨:
kjayapra-amd 작성하고 Maneesh Gupta가 2019-10-16 10:52:15 +05:30를 커밋함
1 부모 eaa616bf6d
커밋 c6fd681dd5
1 파일이 변경됨
+2 -2
+2 -2
파일 보기
@@ -30,7 +30,7 @@ THE SOFTWARE.
#define fileName "tex2dKernel.code"
texture<float, 2, hipReadModeElementType> tex;
bool testResult = false;
bool testResult = true;
#define HIP_CHECK(cmd) \
{ \
@@ -126,7 +126,7 @@ bool runTest(int argc, char** argv) {
}
hipFree(dData);
hipFreeArray(array);
return true;
return testResult;
}
int main(int argc, char** argv) {