Home
last modified time | relevance | path

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

/external/deqp/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.cpp1546 …const GLenum compareFuncs[] = {GL_LEQUAL, GL_GEQUAL, GL_LESS, GL_GREATER, GL_EQUAL, GL_NOTEQUAL… in test() local
1550 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(compareFuncs); ++ndx) in test()
1554 const glw::GLint value = (glw::GLint)compareFuncs[ndx]; in test()
1562 const glw::GLuint value = compareFuncs[ndx]; in test()
1567 verifyStateTextureParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test()
1572 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(compareFuncs); ++ndx) in test()
1574 gl.glTexParameteri(m_target, m_pname, compareFuncs[ndx]); in test()
1577 verifyStateTextureParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test()
1582 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(compareFuncs); ++ndx) in test()
1584 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()
/external/deqp/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()
/external/deqp/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()
/external/deqp/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()
/external/deqp/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()
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp899 void getCompareDependencies (std::set<glu::DataType>& compareFuncs, glu::DataType basicType) in getCompareDependencies() argument
909 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies()
910 compareFuncs.insert(basicType); in getCompareDependencies()
922 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies()
923 compareFuncs.insert(glu::getDataTypeFloatVec(glu::getDataTypeMatrixNumRows(basicType))); in getCompareDependencies()
924 compareFuncs.insert(basicType); in getCompareDependencies()
928 compareFuncs.insert(basicType); in getCompareDependencies()
964 std::set<glu::DataType> compareFuncs; in generateCompareFuncs() local
972 getCompareDependencies(compareFuncs, *iter); in generateCompareFuncs()
977 if (compareFuncs.find(glu::DataType(type)) != compareFuncs.end()) in generateCompareFuncs()
/external/deqp/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()