Lines Matching defs:ndx

238 	virtual VkPipeline		getPipeline(deUint32 ndx) { return m_pipeline[ndx].get(); }
300 for (deUint32 ndx = 0; ndx < PIPELINE_CACHE_NDX_COUNT; ndx++)
306 getPipeline(ndx), // VkPipeline pipeline;
318 statistics[ndx].resize(statisticCount);
321 deMemset(&statistics[ndx][statNdx], 0, sizeof(statistics[ndx][statNdx]));
322 statistics[ndx][statNdx].sType = VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHR;
323 statistics[ndx][statNdx].pNext = DE_NULL;
325 VK_CHECK(vk.getPipelineExecutableStatisticsKHR(vkDevice, &pipelineExecutableInfo, &statisticCount, &statistics[ndx][0]));
329 if (!checkString(statistics[ndx][statNdx].name, DE_LENGTH_OF_ARRAY(statistics[ndx][statNdx].name)))
336 if (deMemCmp(statistics[ndx][statNdx].name, statistics[ndx][otherNdx].name,
337 DE_LENGTH_OF_ARRAY(statistics[ndx][statNdx].name)) == 0)
343 if (!checkString(statistics[ndx][statNdx].description, DE_LENGTH_OF_ARRAY(statistics[ndx][statNdx].description)))
348 if (statistics[ndx][statNdx].format == VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR)
350 if (statistics[ndx][statNdx].value.b32 != VK_TRUE && statistics[ndx][statNdx].value.b32 != VK_FALSE)
586 for (deUint32 ndx = 0; ndx < PIPELINE_CACHE_NDX_COUNT; ndx++)
592 getPipeline(ndx), // VkPipeline pipeline;
603 props[ndx].resize(executableCount);
606 deMemset(&props[ndx][execNdx], 0, sizeof(props[ndx][execNdx]));
607 props[ndx][execNdx].sType = VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_PROPERTIES_KHR;
608 props[ndx][execNdx].pNext = DE_NULL;
610 VK_CHECK(vk.getPipelineExecutablePropertiesKHR(vkDevice, &pipelineInfo, &executableCount, &props[ndx][0]));
614 if (!checkString(props[ndx][execNdx].name, DE_LENGTH_OF_ARRAY(props[ndx][execNdx].name)))
621 if (deMemCmp(props[ndx][execNdx].name, props[ndx][otherNdx].name,
622 DE_LENGTH_OF_ARRAY(props[ndx][execNdx].name)) == 0)
628 if (!checkString(props[ndx][execNdx].description, DE_LENGTH_OF_ARRAY(props[ndx][execNdx].description)))
635 VkShaderStageFlags stages = props[ndx][execNdx].stages;
757 VkPipeline getPipeline (deUint32 ndx) override
759 return m_pipelineWrapper[ndx].getPipeline();
805 " for(int ndx=0; ndx<3; ndx++)\n"
807 " gl_Position = gl_in[ndx].gl_Position;\n"
808 " gl_PointSize = gl_in[ndx].gl_PointSize;\n"
809 " vtxColor = in_vtxColor[ndx];\n"
939 for (deUint32 ndx = 0; ndx < PIPELINE_CACHE_NDX_COUNT; ndx++)
940 preparePipelineWrapper(m_pipelineWrapper[ndx], vertShaderModule, tescShaderModule, teseShaderModule, geomShaderModule, fragShaderModule);
1093 void buildDescriptorSets (deUint32 ndx);
1094 void buildShader (deUint32 ndx);
1095 void buildPipeline (deUint32 ndx);
1137 void ComputeExecutablePropertiesTestInstance::buildDescriptorSets (deUint32 ndx)
1146 m_descriptorSetLayout[ndx] = descLayoutBuilder.build(vk, vkDevice);
1149 void ComputeExecutablePropertiesTestInstance::buildShader (deUint32 ndx)
1163 m_computeShaderModule[ndx] = createShaderModule(vk, vkDevice, &shaderModuleCreateInfo);
1166 void ComputeExecutablePropertiesTestInstance::buildPipeline (deUint32 ndx)
1178 &m_descriptorSetLayout[ndx].get(), // const VkDescriptorSetLayout* pSetLayouts;
1183 m_pipelineLayout[ndx] = createPipelineLayout(vk, vkDevice, &pipelineLayoutCreateInfo);
1191 *m_computeShaderModule[ndx], // VkShaderModule module;
1205 if (ndx == PIPELINE_CACHE_NDX_CACHED && m_param->getTestInternalRepresentations())
1216 *m_pipelineLayout[ndx], // VkPipelineLayout layout;
1221 m_pipeline[ndx] = createComputePipeline(vk, vkDevice, *m_cache, &pipelineCreateInfo, DE_NULL);
1228 for (deUint32 ndx = 0; ndx < PIPELINE_CACHE_NDX_COUNT; ndx++)
1230 buildDescriptorSets(ndx);
1231 buildShader(ndx);
1232 buildPipeline(ndx);