Home
last modified time | relevance | path

Searched refs:compareFuncs (Results 1 – 21 of 21) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util/
DvktTypeComparisonUtil.cpp134 void getCompareDependencies (std::set<glu::DataType> &compareFuncs, glu::DataType basicType) in getCompareDependencies() argument
144 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies()
145 compareFuncs.insert(basicType); in getCompareDependencies()
157 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies()
158 compareFuncs.insert(glu::getDataTypeFloatVec(glu::getDataTypeMatrixNumRows(basicType))); in getCompareDependencies()
159 compareFuncs.insert(basicType); in getCompareDependencies()
163 compareFuncs.insert(basicType); in getCompareDependencies()
DvktTypeComparisonUtil.hpp36 void getCompareDependencies (std::set<glu::DataType> &compareFuncs, glu::DataType basicType);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/util/
DvktTypeComparisonUtil.cpp134 void getCompareDependencies (std::set<glu::DataType> &compareFuncs, glu::DataType basicType) in getCompareDependencies() argument
144 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies()
145 compareFuncs.insert(basicType); in getCompareDependencies()
157 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies()
158 compareFuncs.insert(glu::getDataTypeFloatVec(glu::getDataTypeMatrixNumRows(basicType))); in getCompareDependencies()
159 compareFuncs.insert(basicType); in getCompareDependencies()
163 compareFuncs.insert(basicType); in getCompareDependencies()
DvktTypeComparisonUtil.hpp36 void getCompareDependencies (std::set<glu::DataType> &compareFuncs, glu::DataType basicType);
/third_party/vk-gl-cts/modules/glshared/
DglsInteractionTestUtil.cpp72 static const deUint32 compareFuncs[] = in computeRandomRenderState() local
174 …l[ndx].function = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs)); in computeRandomRenderState()
186 …state.depthFunc = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs)); in computeRandomRenderState()
DglsTextureStateQueryTests.cpp1564 …const GLenum compareFuncs[] = {GL_LEQUAL, GL_GEQUAL, GL_LESS, GL_GREATER, GL_EQUAL, GL_NOTEQUAL… in test() local
1568 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(compareFuncs); ++ndx) in test()
1572 const glw::GLint value = (glw::GLint)compareFuncs[ndx]; in test()
1580 const glw::GLuint value = compareFuncs[ndx]; in test()
1585 verifyStateTextureParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test()
1590 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(compareFuncs); ++ndx) in test()
1592 gl.glTexParameteri(m_target, m_pname, compareFuncs[ndx]); in test()
1595 verifyStateTextureParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test()
1600 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(compareFuncs); ++ndx) in test()
1602 gl.glTexParameterf(m_target, m_pname, (GLfloat)compareFuncs[ndx]); in test()
[all …]
DglsUniformBlockCase.cpp720 void getCompareDependencies (std::set<glu::DataType>& compareFuncs, glu::DataType basicType) in getCompareDependencies() argument
727 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies()
728 compareFuncs.insert(basicType); in getCompareDependencies()
740 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies()
741 compareFuncs.insert(glu::getDataTypeFloatVec(glu::getDataTypeMatrixNumRows(basicType))); in getCompareDependencies()
742 compareFuncs.insert(basicType); in getCompareDependencies()
746 compareFuncs.insert(basicType); in getCompareDependencies()
782 std::set<glu::DataType> compareFuncs; in generateCompareFuncs() local
790 getCompareDependencies(compareFuncs, *iter); in generateCompareFuncs()
795 if (compareFuncs.find(glu::DataType(type)) != compareFuncs.end()) in generateCompareFuncs()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fDepthStencilTests.cpp729 static const deUint32 compareFuncs[] = in randomDepthStencilState() local
763 …il[ndx].function = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs)); in randomDepthStencilState()
775 …params.depthFunc = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs)); in randomDepthStencilState()
787 } compareFuncs[] = in init() local
838 for (int stencilFunc = 0; stencilFunc < DE_LENGTH_OF_ARRAY(compareFuncs)+1; stencilFunc++) in init()
841 for (int depthFunc = 0; depthFunc < DE_LENGTH_OF_ARRAY(compareFuncs)+1; depthFunc++) in init()
845 bool hasStencilFunc = de::inBounds(stencilFunc, 0, DE_LENGTH_OF_ARRAY(compareFuncs)); in init()
846 bool hasDepthFunc = de::inBounds(depthFunc, 0, DE_LENGTH_OF_ARRAY(compareFuncs)); in init()
849 name << "stencil_" << compareFuncs[stencilFunc].name << "_"; in init()
854 name << "depth_" << compareFuncs[depthFunc].name; in init()
[all …]
Des3fTextureShadowTests.cpp1011 } compareFuncs[] = in init() local
1033 for (int compareNdx = 0; compareNdx < DE_LENGTH_OF_ARRAY(compareFuncs); compareNdx++) in init()
1040 deUint32 compareFunc = compareFuncs[compareNdx].func; in init()
1045 string name = string(compareFuncs[compareNdx].name) + "_" + formats[formatNdx].name; in init()
1063 for (int compareNdx = 0; compareNdx < DE_LENGTH_OF_ARRAY(compareFuncs); compareNdx++) in init()
1070 deUint32 compareFunc = compareFuncs[compareNdx].func; in init()
1074 string name = string(compareFuncs[compareNdx].name) + "_" + formats[formatNdx].name; in init()
1092 for (int compareNdx = 0; compareNdx < DE_LENGTH_OF_ARRAY(compareFuncs); compareNdx++) in init()
1099 deUint32 compareFunc = compareFuncs[compareNdx].func; in init()
1105 string name = string(compareFuncs[compareNdx].name) + "_" + formats[formatNdx].name; in init()
Des3fUniformApiTests.cpp1253 } compareFuncs[] = in writeUniformDefinitions() local
1284 for (int compFuncNdx = 0; compFuncNdx < DE_LENGTH_OF_ARRAY(compareFuncs); compFuncNdx++) in writeUniformDefinitions()
1286 const dataTypePredicate (&typeReq)[2] = compareFuncs[compFuncNdx].requiringTypes; in writeUniformDefinitions()
1303 dst << compareFuncs[compFuncNdx].definition << "\n"; in writeUniformDefinitions()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fDepthStencilTests.cpp729 static const deUint32 compareFuncs[] = in randomDepthStencilState() local
763 …il[ndx].function = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs)); in randomDepthStencilState()
775 …params.depthFunc = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs)); in randomDepthStencilState()
787 } compareFuncs[] = in init() local
838 for (int stencilFunc = 0; stencilFunc < DE_LENGTH_OF_ARRAY(compareFuncs)+1; stencilFunc++) in init()
841 for (int depthFunc = 0; depthFunc < DE_LENGTH_OF_ARRAY(compareFuncs)+1; depthFunc++) in init()
845 bool hasStencilFunc = de::inBounds(stencilFunc, 0, DE_LENGTH_OF_ARRAY(compareFuncs)); in init()
846 bool hasDepthFunc = de::inBounds(depthFunc, 0, DE_LENGTH_OF_ARRAY(compareFuncs)); in init()
849 name << "stencil_" << compareFuncs[stencilFunc].name << "_"; in init()
854 name << "depth_" << compareFuncs[depthFunc].name; in init()
[all …]
Des2fUniformApiTests.cpp1082 } compareFuncs[] = in writeUniformDefinitions() local
1103 for (int compFuncNdx = 0; compFuncNdx < DE_LENGTH_OF_ARRAY(compareFuncs); compFuncNdx++) in writeUniformDefinitions()
1105 const dataTypePredicate (&typeReq)[2] = compareFuncs[compFuncNdx].requiringTypes; in writeUniformDefinitions()
1109 dst << compareFuncs[compFuncNdx].definition << "\n"; in writeUniformDefinitions()
/third_party/vk-gl-cts/modules/egl/
DteglChooseConfigReference.cpp244 static const SurfaceConfig::CompareFunc compareFuncs[] = in compareTo() local
263 for (int ndx = 0; ndx < (int)DE_LENGTH_OF_ARRAY(compareFuncs); ndx++) in compareTo()
265 if (!compareFuncs[ndx]) in compareTo()
275 if (compareFuncs[ndx](*this, b)) in compareTo()
277 else if (compareFuncs[ndx](b, *this)) in compareTo()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory_model/
DvktMemoryModelSharedLayoutCase.cpp181 std::set<glu::DataType> compareFuncs; in generateCompareFuncs() local
190 vkt::typecomputil::getCompareDependencies(compareFuncs, type); in generateCompareFuncs()
193 if (compareFuncs.find(glu::DataType(type)) != compareFuncs.end()) in generateCompareFuncs()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory_model/
DvktMemoryModelSharedLayoutCase.cpp181 std::set<glu::DataType> compareFuncs; in generateCompareFuncs() local
190 vkt::typecomputil::getCompareDependencies(compareFuncs, type); in generateCompareFuncs()
193 if (compareFuncs.find(glu::DataType(type)) != compareFuncs.end()) in generateCompareFuncs()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp858 void getCompareDependencies (std::set<glu::DataType>& compareFuncs, glu::DataType basicType) in getCompareDependencies() argument
868 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies()
869 compareFuncs.insert(basicType); in getCompareDependencies()
881 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies()
882 compareFuncs.insert(glu::getDataTypeFloatVec(glu::getDataTypeMatrixNumRows(basicType))); in getCompareDependencies()
883 compareFuncs.insert(basicType); in getCompareDependencies()
887 compareFuncs.insert(basicType); in getCompareDependencies()
923 std::set<glu::DataType> compareFuncs; in generateCompareFuncs() local
931 getCompareDependencies(compareFuncs, *iter); in generateCompareFuncs()
936 if (compareFuncs.find(glu::DataType(type)) != compareFuncs.end()) in generateCompareFuncs()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ubo/
DvktUniformBlockCase.cpp858 void getCompareDependencies (std::set<glu::DataType>& compareFuncs, glu::DataType basicType) in getCompareDependencies() argument
868 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies()
869 compareFuncs.insert(basicType); in getCompareDependencies()
881 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies()
882 compareFuncs.insert(glu::getDataTypeFloatVec(glu::getDataTypeMatrixNumRows(basicType))); in getCompareDependencies()
883 compareFuncs.insert(basicType); in getCompareDependencies()
887 compareFuncs.insert(basicType); in getCompareDependencies()
923 std::set<glu::DataType> compareFuncs; in generateCompareFuncs() local
931 getCompareDependencies(compareFuncs, *iter); in generateCompareFuncs()
936 if (compareFuncs.find(glu::DataType(type)) != compareFuncs.end()) in generateCompareFuncs()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp836 void getCompareDependencies (std::set<glu::DataType>& compareFuncs, glu::DataType basicType) in getCompareDependencies() argument
843 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies()
844 compareFuncs.insert(basicType); in getCompareDependencies()
856 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies()
857 compareFuncs.insert(glu::getDataTypeFloatVec(glu::getDataTypeMatrixNumRows(basicType))); in getCompareDependencies()
858 compareFuncs.insert(basicType); in getCompareDependencies()
862 compareFuncs.insert(basicType); in getCompareDependencies()
898 std::set<glu::DataType> compareFuncs; in generateCompareFuncs() local
906 getCompareDependencies(compareFuncs, *iter); in generateCompareFuncs()
911 if (compareFuncs.find(glu::DataType(type)) != compareFuncs.end()) in generateCompareFuncs()
Des31fProgramUniformTests.cpp1069 } compareFuncs[] = in writeUniformDefinitions() local
1100 for (int compFuncNdx = 0; compFuncNdx < DE_LENGTH_OF_ARRAY(compareFuncs); compFuncNdx++) in writeUniformDefinitions()
1102 const dataTypePredicate (&typeReq)[2] = compareFuncs[compFuncNdx].requiringTypes; in writeUniformDefinitions()
1119 dst << compareFuncs[compFuncNdx].definition << "\n"; in writeUniformDefinitions()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp861 std::set<glu::DataType> compareFuncs; in generateCompareFuncs() local
869 vkt::typecomputil::getCompareDependencies(compareFuncs, *iter); in generateCompareFuncs()
874 if (compareFuncs.find(glu::DataType(type)) != compareFuncs.end()) in generateCompareFuncs()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ssbo/
DvktSSBOLayoutCase.cpp861 std::set<glu::DataType> compareFuncs; in generateCompareFuncs() local
869 vkt::typecomputil::getCompareDependencies(compareFuncs, *iter); in generateCompareFuncs()
874 if (compareFuncs.find(glu::DataType(type)) != compareFuncs.end()) in generateCompareFuncs()