Lines Matching defs:ndx
75 const deUint32 ndx = (x * height + y) * 4u;
77 if (!withImage && 0.0f == resultData[ndx])
81 else if (1.0f == resultData[ndx +2])
83 if(resultData[ndx] != resultData[ndx +1])
88 else if (resultData[ndx] != resultData[ndx +3])
217 const deUint32 ndx = x*4u;
218 if (!withImage && 0.0f == resultData[ndx])
222 else if (1.0f == resultData[ndx +2])
224 if(resultData[ndx] != resultData[ndx +1])
227 else if (resultData[ndx] != resultData[ndx +3])
265 const deUint32 ndx = x*4u;
267 if (!withImage && 0.0f == resultData[ndx])
271 else if (0.0f == resultData[ndx +2] && resultData[ndx] != resultData[ndx +3])
2049 for (deUint32 ndx = 0; ndx < DE_LENGTH_OF_ARRAY(stagesBits); ++ndx)
2051 inputData[ndx] =
2058 4 + ndx, // deUint32 binding;
2059 stagesBits[ndx], // vk::VkShaderStageFlags stages;
2070 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(stagesBits); ++ndx)
2072 const deUint32 index = ndx*4;
2079 inputDatas[index].stages = stagesBits[ndx];
2086 inputDatas[index + 1].stages = stagesBits[ndx];
2093 inputDatas[index + 2].stages = stagesBits[ndx];
2101 inputDatas[index + 3].stages = stagesBits[ndx];
2127 for (deUint32 ndx = 0; ndx < inputDataCount; ++ndx)
2129 inputData[ndx].format = VK_FORMAT_R32_UINT;
2130 inputData[ndx].layout = subgroups::SSBOData::LayoutStd430;
2131 inputData[ndx].numElements = 1;
2132 inputData[ndx].initializeType = subgroups::SSBOData::InitializeZero;
2133 inputData[ndx].binding = stagesCount + ndx;
2134 inputData[ndx].stages = stagesBits[ndx];
2145 for (deUint32 ndx = 0; ndx < stagesCount; ++ndx)
2147 const deUint32 index = datasPerStage * ndx;
2153 inputDatas[index + perStageNdx].stages = stagesBits[ndx];