• Home
  • Raw
  • Download

Lines Matching refs:imageSampler

277 		SampledImageDescriptor *imageSampler = reinterpret_cast<SampledImageDescriptor *>(memToWrite);  in WriteDescriptorSet()  local
286 imageSampler[i].updateSampler(update->sampler); in WriteDescriptorSet()
288 imageSampler[i].device = device; in WriteDescriptorSet()
293 SampledImageDescriptor *imageSampler = reinterpret_cast<SampledImageDescriptor *>(memToWrite); in WriteDescriptorSet() local
300 imageSampler[i].type = VK_IMAGE_VIEW_TYPE_1D; in WriteDescriptorSet()
301 imageSampler[i].imageViewId = bufferView->id; in WriteDescriptorSet()
302imageSampler[i].swizzle = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B… in WriteDescriptorSet()
303 imageSampler[i].format = bufferView->getFormat(); in WriteDescriptorSet()
306 imageSampler[i].extent = { numElements, 1, 1 }; in WriteDescriptorSet()
307 imageSampler[i].arrayLayers = 1; in WriteDescriptorSet()
308 imageSampler[i].mipLevels = 1; in WriteDescriptorSet()
309 imageSampler[i].sampleCount = 1; in WriteDescriptorSet()
310imageSampler[i].texture.widthWidthHeightHeight = sw::float4(static_cast<float>(numElements), stati… in WriteDescriptorSet()
311 imageSampler[i].texture.width = sw::float4(static_cast<float>(numElements)); in WriteDescriptorSet()
312 imageSampler[i].texture.height = sw::float4(1); in WriteDescriptorSet()
313 imageSampler[i].texture.depth = sw::float4(1); in WriteDescriptorSet()
314 imageSampler[i].device = device; in WriteDescriptorSet()
316 sw::Mipmap &mipmap = imageSampler[i].texture.mipmap[0]; in WriteDescriptorSet()
330 SampledImageDescriptor *imageSampler = reinterpret_cast<SampledImageDescriptor *>(memToWrite); in WriteDescriptorSet() local
339 sw::Texture *texture = &imageSampler[i].texture; in WriteDescriptorSet()
347 imageSampler[i].updateSampler(update->sampler); in WriteDescriptorSet()
351 imageSampler[i].imageViewId = imageView->id; in WriteDescriptorSet()
352 imageSampler[i].extent = imageView->getMipLevelExtent(0); in WriteDescriptorSet()
353 imageSampler[i].arrayLayers = imageView->getSubresourceRange().layerCount; in WriteDescriptorSet()
354 imageSampler[i].mipLevels = imageView->getSubresourceRange().levelCount; in WriteDescriptorSet()
355 imageSampler[i].sampleCount = imageView->getSampleCount(); in WriteDescriptorSet()
356 imageSampler[i].type = imageView->getType(); in WriteDescriptorSet()
357 imageSampler[i].swizzle = imageView->getComponentMapping(); in WriteDescriptorSet()
358 imageSampler[i].format = format; in WriteDescriptorSet()
359 imageSampler[i].device = device; in WriteDescriptorSet()