/external/deqp/modules/glshared/ |
D | glsInteractionTestUtil.cpp | 72 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()
|
D | glsTextureStateQueryTests.cpp | 1481 …const GLenum compareFuncs[] = {GL_LEQUAL, GL_GEQUAL, GL_LESS, GL_GREATER, GL_EQUAL, GL_NOTEQUAL… in test() local 1485 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(compareFuncs); ++ndx) in test() 1489 const glw::GLint value = (glw::GLint)compareFuncs[ndx]; in test() 1497 const glw::GLuint value = compareFuncs[ndx]; in test() 1502 verifyStateTextureParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test() 1507 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(compareFuncs); ++ndx) in test() 1509 gl.glTexParameteri(m_target, m_pname, compareFuncs[ndx]); in test() 1512 verifyStateTextureParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test() 1517 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(compareFuncs); ++ndx) in test() 1519 gl.glTexParameterf(m_target, m_pname, (GLfloat)compareFuncs[ndx]); in test() [all …]
|
D | glsUniformBlockCase.cpp | 719 void getCompareDependencies (std::set<glu::DataType>& compareFuncs, glu::DataType basicType) in getCompareDependencies() argument 726 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies() 727 compareFuncs.insert(basicType); in getCompareDependencies() 739 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies() 740 compareFuncs.insert(glu::getDataTypeFloatVec(glu::getDataTypeMatrixNumRows(basicType))); in getCompareDependencies() 741 compareFuncs.insert(basicType); in getCompareDependencies() 745 compareFuncs.insert(basicType); in getCompareDependencies() 781 std::set<glu::DataType> compareFuncs; in generateCompareFuncs() local 789 getCompareDependencies(compareFuncs, *iter); in generateCompareFuncs() 794 if (compareFuncs.find(glu::DataType(type)) != compareFuncs.end()) in generateCompareFuncs()
|
/external/deqp/modules/gles2/functional/ |
D | es2fDepthStencilTests.cpp | 729 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 …]
|
D | es2fUniformApiTests.cpp | 1082 } 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/gles3/functional/ |
D | es3fDepthStencilTests.cpp | 729 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 …]
|
D | es3fTextureShadowTests.cpp | 1011 } 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()
|
D | es3fUniformApiTests.cpp | 1253 } 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/egl/ |
D | teglChooseConfigReference.cpp | 244 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/ |
D | vktUniformBlockCase.cpp | 670 void getCompareDependencies (std::set<glu::DataType>& compareFuncs, glu::DataType basicType) in getCompareDependencies() argument 677 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies() 678 compareFuncs.insert(basicType); in getCompareDependencies() 690 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies() 691 compareFuncs.insert(glu::getDataTypeFloatVec(glu::getDataTypeMatrixNumRows(basicType))); in getCompareDependencies() 692 compareFuncs.insert(basicType); in getCompareDependencies() 696 compareFuncs.insert(basicType); in getCompareDependencies() 732 std::set<glu::DataType> compareFuncs; in generateCompareFuncs() local 740 getCompareDependencies(compareFuncs, *iter); in generateCompareFuncs() 745 if (compareFuncs.find(glu::DataType(type)) != compareFuncs.end()) in generateCompareFuncs()
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 812 void getCompareDependencies (std::set<glu::DataType>& compareFuncs, glu::DataType basicType) in getCompareDependencies() argument 819 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies() 820 compareFuncs.insert(basicType); in getCompareDependencies() 832 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies() 833 compareFuncs.insert(glu::getDataTypeFloatVec(glu::getDataTypeMatrixNumRows(basicType))); in getCompareDependencies() 834 compareFuncs.insert(basicType); in getCompareDependencies() 838 compareFuncs.insert(basicType); in getCompareDependencies() 874 std::set<glu::DataType> compareFuncs; in generateCompareFuncs() local 882 getCompareDependencies(compareFuncs, *iter); in generateCompareFuncs() 887 if (compareFuncs.find(glu::DataType(type)) != compareFuncs.end()) in generateCompareFuncs()
|
/external/deqp/modules/gles31/functional/ |
D | es31fSSBOLayoutCase.cpp | 841 void getCompareDependencies (std::set<glu::DataType>& compareFuncs, glu::DataType basicType) in getCompareDependencies() argument 848 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies() 849 compareFuncs.insert(basicType); in getCompareDependencies() 861 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies() 862 compareFuncs.insert(glu::getDataTypeFloatVec(glu::getDataTypeMatrixNumRows(basicType))); in getCompareDependencies() 863 compareFuncs.insert(basicType); in getCompareDependencies() 867 compareFuncs.insert(basicType); in getCompareDependencies() 903 std::set<glu::DataType> compareFuncs; in generateCompareFuncs() local 911 getCompareDependencies(compareFuncs, *iter); in generateCompareFuncs() 916 if (compareFuncs.find(glu::DataType(type)) != compareFuncs.end()) in generateCompareFuncs()
|
D | es31fProgramUniformTests.cpp | 1069 } 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()
|