Home
last modified time | relevance | path

Searched refs:imageDescriptor (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/src/Pipeline/
DSpirvShaderSampling.cpp33 …er::getImageSampler(uint32_t inst, vk::SampledImageDescriptor const *imageDescriptor, const vk::Sa… in getImageSampler() argument
37 …ASSERT(imageDescriptor->imageViewId != 0 && (samplerId != 0 || instruction.samplerMethod == Fetch)… in getImageSampler()
38 ASSERT(imageDescriptor->device); in getImageSampler()
40 vk::Device::SamplingRoutineCache::Key key = { inst, imageDescriptor->imageViewId, samplerId }; in getImageSampler()
42 vk::Device::SamplingRoutineCache *cache = imageDescriptor->device->getSamplingRoutineCache(); in getImageSampler()
45 auto type = imageDescriptor->type; in getImageSampler()
49 samplerState.textureFormat = imageDescriptor->format; in getImageSampler()
56 samplerState.swizzle = imageDescriptor->swizzle; in getImageSampler()
DSpirvShaderImage.cpp152 auto imageDescriptor = state->getPointer(sampledImageId).base; // vk::SampledImageDescriptor* in EmitImageSampleUnconditional() local
156 …= spv::OpSampledImage) ? state->getPointer(sampledImage.definition.word(4)).base : imageDescriptor; in EmitImageSampleUnconditional()
161 …Pointer<Byte> texture = imageDescriptor + OFFSET(vk::SampledImageDescriptor, texture); // sw::T… in EmitImageSampleUnconditional()
328 auto cacheHit = cache.imageDescriptor == imageDescriptor && cache.sampler == sampler; in EmitImageSampleUnconditional()
332 cache.function = Call(getImageSampler, instruction.parameters, imageDescriptor, sampler); in EmitImageSampleUnconditional()
333 cache.imageDescriptor = imageDescriptor; in EmitImageSampleUnconditional()
DSpirvShader.hpp1294 …ImageSampler(uint32_t instruction, vk::SampledImageDescriptor const *imageDescriptor, const vk::Sa…
1368 Pointer<Byte> imageDescriptor = nullptr; member