Lines Matching defs:result
107 string result = "{ ";
109 result += (i > 0 ? ", " : "") + toString(arr[i]);
110 result += " }";
111 return result;
429 //! An order-independent operation is one for which the end result doesn't depend on the order in which the operations are carried (i.e. is both commutative and associative).
440 //! Computes the result of an atomic operation where "a" is the data operated on and "b" is the parameter to the atomic function.
1072 tcu::TextureLevel result (textureFormat, imageSize, 1);
1073 const PixelBufferAccess resultAccess = result.getAccess();
1104 //! An ImageLayerVerifier that simply compares the result slice to a slice in a reference image.
1594 ATOMIC_OPERATION_CASE_TYPE_END_RESULT = 0, //!< Atomic case checks the end result of the operations, and not the return values.
1595 ATOMIC_OPERATION_CASE_TYPE_RETURN_VALUES, //!< Atomic case checks the return values of the atomic function, and not the end result.
1606 * For the "end result" case type, a single texture (and image) is created,
1614 * as in the "end result" case, but also creates an additional texture,
1618 * The end result values are not checked.
1621 * end result image are the invocations with global IDs
1623 * is the width of the end result image and N is m_numInvocationsPerPixel.
1752 } result;
1755 result.i = resultSlice.getPixelInt(x, y).x();
1757 result.f = resultSlice.getPixel(x, y).x();
1783 if (result.i != reference)
1785 log << TestLog::Message << "// Failure: end result at pixel " << IVec2(x, y) << " of current layer is " << result.i << TestLog::EndMessage
1794 // Check that the end result equals one of the atomic args.
1799 matchFound = isIntegerFormat ? result.i == atomicArgs[i]
1800 : de::abs(result.f - (float)atomicArgs[i]) <= 0.01f;
1804 log << TestLog::Message << "// Failure: invalid value at pixel " << IVec2(x, y) << ": got " << (isIntegerFormat ? toString(result.i) : toString(result.f)) << TestLog::EndMessage
1884 // Get the atomic function args and return values for all the invocations that contribute to the pixel (x, y) in the current end result slice.
1916 << arrayStr(atomicArgs) << "; return values are not a valid result for any order of operations" << TestLog::EndMessage;
1983 const glu::Texture endResultTexture (renderCtx); //!< Texture for the final result; i.e. the texture on which the atomic operations are done. Size imageSize.
1989 // Adjust result image size for result image
2034 log << TestLog::Message << "// Filling end-result texture with initial pattern (initial value " << getOperationInitialValue(m_operation) << ")" << TestLog::EndMessage;
2153 * result and return values.
2246 // One of those should be the result.
2248 const int result = resultSlice.getPixelInt(x, y).x();
2263 matchFound = result == assignArgs[i];
2267 log << TestLog::Message << "// Failure: invalid value at pixel " << IVec2(x, y) << ": got " << result << TestLog::EndMessage
2306 // Get the atomic function args and return values for all the invocations that contribute to the pixel (x, y) in the current end result slice.
2396 const glu::Texture endResultTexture (renderCtx); //!< Texture for the final result; i.e. the texture on which the atomic operations are done. Size imageSize.
2404 // Adjust result image size for result image
2447 log << TestLog::Message << "// Filling end-result texture with initial pattern" << TestLog::EndMessage;
2819 //! Tests the imageSize() GLSL function. Stores result in a 1x1 R32UI image. The image with which imageSize() is called isn't read or written, and
2912 " int result = imageSize(u_image);\n"
2915 " int result = size.y*1000 + size.x;\n"
2918 " int result = size.z*1000000 + size.y*1000 + size.x;\n"
2920 " imageStore(u_result, ivec2(0, 0), uvec4(result));\n"
3199 // Log rendered result for convenience.
3323 const string caseTypeName = caseType == ATOMIC_OPERATION_CASE_TYPE_END_RESULT ? "result"