Lines Matching defs:binding
664 VkDescriptorSetLayoutBinding &binding = bindings[b];
665 binding.binding = b;
666 binding.pImmutableSamplers = NULL;
667 binding.stageFlags = caseDef.allShaderStages;
668 binding.descriptorCount = 1;
672 binding.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE;
674 binding.descriptorType = (VkDescriptorType)caseDef.descriptorType;
1119 decls << "layout(" << outputimgqualif << ", set = 0, binding = 0) uniform " << imgprefix << "image2D image0_0;\n";
1124 // Construct the declaration for the binding
1129 decls << "layout(scalar, set = 0, binding = 1) uniform ubodef0_1 { " << bufType << " val[1024]; } ubo0_1;\n";
1133 decls << "layout(scalar, set = 0, binding = 1) " << vol << ro << "buffer sbodef0_1 { " << bufType << " val[]; } ssbo0_1;\n";
1134 decls << "layout(scalar, set = 0, binding = 1) " << vol << ro << "buffer sbodef0_1_pad { vec4 pad; " << bufType << " val[]; } ssbo0_1_pad;\n";
1140 decls << "layout(set = 0, binding = 1) uniform itextureBuffer texbo0_1;\n";
1143 decls << "layout(set = 0, binding = 1) uniform utextureBuffer texbo0_1;\n";
1146 decls << "layout(set = 0, binding = 1) uniform " << imgprefix << "textureBuffer texbo0_1;\n";
1150 decls << "layout(" << imgqualif << "set = 0, binding = 1) " << vol << "uniform " << imgprefix << "imageBuffer image0_1;\n";
1153 decls << "layout(" << imgqualif << "set = 0, binding = 1) " << vol << "uniform " << imgprefix << "image" << imageDim << " image0_1;\n";
1159 decls << "layout(set = 0, binding = 1) uniform isampler" << imageDim << " texture0_1; \n";
1162 decls << "layout(set = 0, binding = 1) uniform usampler" << imageDim << " texture0_1; \n";
1165 decls << "layout(set = 0, binding = 1) uniform " << imgprefix << "sampler" << imageDim << " texture0_1;\n";
1723 "layout (" + getShaderImageFormatQualifier(mapVkFormat(m_data.format)) + ", binding=0) volatile uniform "
1726 "layout(std430, binding = 1) buffer inputBuffer\n"
2160 VkDescriptorSetLayoutBinding &binding = bindings[b];
2162 if (binding.descriptorCount == 0)
2167 DE_ASSERT(binding.descriptorCount == 1);
2168 switch (binding.descriptorType)
2322 .writeSingle(*descriptorSetFillImage, DescriptorSetUpdateBuilder::Location::binding(0u), VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, &descResultImageInfo)
2323 .writeSingle(*descriptorSetFillImage, DescriptorSetUpdateBuilder::Location::binding(1u), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, &descResultBufferInfo)
2430 VkDescriptorSetLayoutBinding &binding = bindings[b];
2431 // Construct the declaration for the binding
2432 if (binding.descriptorCount > 0)
2435 switch (binding.descriptorType)
2466 (deUint32)b, // binding
2469 binding.descriptorType, // descriptorType
2481 binding.descriptorType, // VkDescriptorType descriptorType;
2486 switch (binding.descriptorType)
2514 if (binding.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC ||
2515 binding.descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC)
2817 0u, // deUint32 binding
2825 0u, // deUint32 binding
3258 // - The vertex buffer size is not a multiple of the vertex binding stride.