Lines Matching refs:compareFuncs
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()
858 params.depthFunc = hasDepthFunc ? compareFuncs[depthFunc].func : 0; in init()
873 params.stencil[visible].function = hasStencilFunc ? compareFuncs[stencilFunc].func : 0; in init()