Lines Matching defs:SamplerState
27 struct SamplerState : sw::Memset<SamplerState> struct
33 static float ClampLod(float lod) in ClampLod()
38 const VkFilter magFilter = VK_FILTER_NEAREST;
39 const VkFilter minFilter = VK_FILTER_NEAREST;
40 const VkSamplerMipmapMode mipmapMode = VK_SAMPLER_MIPMAP_MODE_NEAREST;
41 const VkSamplerAddressMode addressModeU = VK_SAMPLER_ADDRESS_MODE_REPEAT;
42 const VkSamplerAddressMode addressModeV = VK_SAMPLER_ADDRESS_MODE_REPEAT;
43 const VkSamplerAddressMode addressModeW = VK_SAMPLER_ADDRESS_MODE_REPEAT;
44 const float mipLodBias = 0.0f;
45 const VkBool32 anisotropyEnable = VK_FALSE;
46 const float maxAnisotropy = 0.0f;
47 const VkBool32 compareEnable = VK_FALSE;
48 const VkCompareOp compareOp = VK_COMPARE_OP_NEVER;
49 const float minLod = 0.0f;
50 const float maxLod = 0.0f;
51 const VkBorderColor borderColor = VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK;
52 const VkClearColorValue customBorderColor = {};
53 const VkBool32 unnormalizedCoordinates = VK_FALSE;
55 VkSamplerYcbcrModelConversion ycbcrModel = VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY;
56 const bool highPrecisionFiltering = false;
57 bool studioSwing = false; // Narrow range
58 bool swappedChroma = false; // Cb/Cr components in reverse order
59 VkFilter chromaFilter = VK_FILTER_NEAREST;
60 VkChromaLocation chromaXOffset = VK_CHROMA_LOCATION_COSITED_EVEN;
61 VkChromaLocation chromaYOffset = VK_CHROMA_LOCATION_COSITED_EVEN;