Lines Matching refs:samplerState
47 Sampler samplerState = {}; in getImageSampler() local
48 samplerState.textureType = type; in getImageSampler()
49 samplerState.textureFormat = imageDescriptor->format; in getImageSampler()
51 samplerState.addressingModeU = convertAddressingMode(0, sampler, type); in getImageSampler()
52 samplerState.addressingModeV = convertAddressingMode(1, sampler, type); in getImageSampler()
53 samplerState.addressingModeW = convertAddressingMode(2, sampler, type); in getImageSampler()
55 samplerState.mipmapFilter = convertMipmapMode(sampler); in getImageSampler()
56 samplerState.swizzle = imageDescriptor->swizzle; in getImageSampler()
57 samplerState.gatherComponent = instruction.gatherComponent; in getImageSampler()
61 samplerState.textureFilter = convertFilterMode(sampler, type, instruction); in getImageSampler()
62 samplerState.border = sampler->borderColor; in getImageSampler()
64 samplerState.mipmapFilter = convertMipmapMode(sampler); in getImageSampler()
65 …samplerState.highPrecisionFiltering = (sampler->filteringPrecision == VK_SAMPLER_FILTERING_PRECISI… in getImageSampler()
67 samplerState.compareEnable = (sampler->compareEnable != VK_FALSE); in getImageSampler()
68 samplerState.compareOp = sampler->compareOp; in getImageSampler()
69 samplerState.unnormalizedCoordinates = (sampler->unnormalizedCoordinates != VK_FALSE); in getImageSampler()
71 samplerState.ycbcrModel = sampler->ycbcrModel; in getImageSampler()
72 samplerState.studioSwing = sampler->studioSwing; in getImageSampler()
73 samplerState.swappedChroma = sampler->swappedChroma; in getImageSampler()
75 samplerState.mipLodBias = sampler->mipLodBias; in getImageSampler()
76 samplerState.maxAnisotropy = sampler->maxAnisotropy; in getImageSampler()
77 samplerState.minLod = sampler->minLod; in getImageSampler()
78 samplerState.maxLod = sampler->maxLod; in getImageSampler()
85 samplerState.border = VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK; in getImageSampler()
88 return emitSamplerRoutine(instruction, samplerState); in getImageSampler()
96 …Routine> SpirvShader::emitSamplerRoutine(ImageInstruction instruction, const Sampler &samplerState) in emitSamplerRoutine() argument
155 SamplerCore s(constants, samplerState); in emitSamplerRoutine()