Home
last modified time | relevance | path

Searched refs:maxLod (Results 1 - 25 of 98) sorted by relevance

1234

/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkSampler.cpp34 , maxLod(ClampLod(pCreateInfo->maxLod)) in SamplerState()
H A DVkSampler.hpp50 const float maxLod = 0.0f; member
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DSampler.h53 void setMaxLod(GLfloat maxLod) { mMaxLod = maxLod; } in setMaxLod() argument
/third_party/vk-gl-cts/framework/common/
H A DtcuTexCompareVerifier.cpp820 const float maxLod = lodBounds.y();
822 const bool canBeMinified = maxLod > sampler.lodThreshold;
844 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1);
851 const float maxF = de::clamp(maxLod - float(level), 0.0f, 1.0f);
862 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel);
1421 const float maxLod = lodBounds.y();
1423 const bool canBeMinified = maxLod > sampler.lodThreshold;
1443 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1);
1450 const float maxF = de::clamp(maxLod - float(level), 0.0f, 1.0f);
1461 const int maxLevel = de::clamp((int)deFloatFloor(maxLod
[all...]
H A DtcuTexLookupVerifier.cpp1392 const float maxLod = lodBounds.y(); in isLookupResultValid() local
1394 const bool canBeMinified = maxLod > sampler.lodThreshold; in isLookupResultValid()
1416 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1423 const float maxF = de::clamp(maxLod - float(level), 0.0f, 1.0f); in isLookupResultValid()
1434 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid()
1457 const float maxLod = lodBounds.y(); in isLookupResultValid() local
1459 const bool canBeMinified = maxLod > sampler.lodThreshold; in isLookupResultValid()
1481 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1488 const float maxF = de::clamp(maxLod - float(level), 0.0f, 1.0f); in isLookupResultValid()
1499 const int maxLevel = de::clamp((int)deFloatFloor(maxLod in isLookupResultValid()
1767 const float maxLod = lodBounds.y(); isLookupResultValid() local
1859 const float maxLod = lodBounds.y(); isLookupResultValid() local
1929 const float maxLod = lodBounds.y(); isLookupResultValid() local
2025 const float maxLod = lodBounds.y(); isLookupResultValid() local
2119 const float maxLod = lodBounds.y(); isLookupResultValid() local
2242 const float maxLod = deFloatLog2(pMax+pMaxErr); computeLodBoundsFromDerivates() local
[all...]
/third_party/vk-gl-cts/modules/glshared/
H A DglsSamplerObjectTest.hpp51 GLfloat maxLod; member
109 GLfloat maxLod; member
H A DglsSamplerObjectTest.cpp95 gl.texParameterf(target, GL_TEXTURE_MAX_LOD, state.maxLod); in setTextureState()
96 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameterf(target, GL_TEXTURE_MAX_LOD, state.maxLod)"); in setTextureState()
113 gl.samplerParameterf(sampler, GL_TEXTURE_MAX_LOD, state.maxLod); in setSamplerState()
114 GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameterf(sampler, GL_TEXTURE_MAX_LOD, state.maxLod)"); in setSamplerState()
607 gl.texParameterf(target, GL_TEXTURE_MAX_LOD, state.maxLod); in setTextureState()
608 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameterf(target, GL_TEXTURE_MAX_LOD, state.maxLod)"); in setTextureState()
625 gl.samplerParameterf(sampler, GL_TEXTURE_MAX_LOD, state.maxLod); in setSamplerState()
626 GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameterf(sampler, GL_TEXTURE_MAX_LOD, state.maxLod)"); in setSamplerState()
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
H A DSampler.hpp59 float maxLod; member
195 void setMaxLod(float maxLod);
H A DSampler.cpp78 texture.maxLod = MAX_TEXTURE_LOD; in Sampler()
360 void Sampler::setMaxLod(float maxLod) in setMaxLod() argument
362 texture.maxLod = clamp(maxLod, 0.0f, (float)(MAX_TEXTURE_LOD)); in setMaxLod()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DSampler.cpp126 void Sampler::setMaxLod(const Context *context, GLfloat maxLod) in setMaxLod() argument
128 mState.setMaxLod(maxLod); in setMaxLod()
H A DSampler.h59 void setMaxLod(const Context *context, GLfloat maxLod);
H A Dangletypes.cpp277 bool SamplerState::setMaxLod(GLfloat maxLod) in setMaxLod() argument
279 if (mMaxLod != maxLod) in setMaxLod()
281 mMaxLod = maxLod; in setMaxLod()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DSpirvShaderSampling.cpp82 samplerState.maxLod = vkSamplerState->maxLod; in getImageSampler()
95 samplerState.maxLod = 0.0f; in getImageSampler()
109 samplerState.maxLod = 0.0f; in getImageSampler()
/third_party/vk-gl-cts/framework/opengl/
H A DgluTextureTestUtil.hpp126 , maxLod (1000.0f) in ReferenceParams()
142 , maxLod (1000.0f) in ReferenceParams()
156 float maxLod; member
H A DgluTextureTestUtil.cpp405 float triLod[2] = { de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[0]) + lodBias, params.minLod, params.maxLod), in sampleTextureNonProjected()
406 de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[1]) + lodBias, params.minLod, params.maxLod) }; in sampleTextureNonProjected()
442 float triLod[2] = { de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[0], triT[0]) + lodBias, params.minLod, params.maxLod), in sampleTextureNonProjected()
443 de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[1], triT[1]) + lodBias, params.minLod, params.maxLod) }; in sampleTextureNonProjected()
695 const float lod = de::clamp(computeCubeLodFromDerivates(params.lodMode, coord, coordDx, coordDy, srcSize) + lodBias, params.minLod, params.maxLod); in sampleTextureCube()
737 float triLod[2] = { de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[0], triT[0]) + lodBias, params.minLod, params.maxLod), in sampleTextureNonProjected()
738 de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[1], triT[1]) + lodBias, params.minLod, params.maxLod) }; in sampleTextureNonProjected()
832 float triLod[2] = { de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[0], triT[0], triR[0]) + lodBias, params.minLod, params.maxLod), in sampleTextureNonProjected()
833 de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[1], triT[1], triR[1]) + lodBias, params.minLod, params.maxLod) }; in sampleTextureNonProjected()
974 const float lod = de::clamp(computeCubeLodFromDerivates(params.lodMode, coord, coordDx, coordDy, src.getSize()) + lodBias, params.minLod, params.maxLod); in sampleTextureCubeArray()
[all...]
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
H A Dsampler.cc101 sampler_info.maxLod = sampler->GetMaxLOD(); in CreateSampler()
/third_party/skia/third_party/externals/swiftshader/src/Device/
H A DSampler.hpp116 float maxLod = 1000.0f; member
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DSamplerVk.cpp87 createInfo.maxLod = descriptor->lodMaxClamp; in Initialize()
/third_party/skia/src/gpu/vk/
H A DGrVkSampler.cpp69 // there is always a mipmapMode. To get the same effect as GL we can set minLod = maxLod = 0.0. in Create()
75 createInfo.maxLod = !useMipMaps ? 0.0f : 10000.0f; in Create()
/third_party/mesa3d/src/virtio/venus-protocol/
H A Dvn_protocol_driver_sampler.h180 size += vn_sizeof_float(&val->maxLod); in vn_sizeof_VkSamplerCreateInfo_self()
252 vn_encode_float(enc, &val->maxLod); in vn_encode_VkSamplerCreateInfo_self()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
H A DvktSampleVerifier.hpp95 float maxLod; member
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
H A DvktSampleVerifier.hpp95 float maxLod; member
H A DvktTextureSwizzleTests.cpp198 const float triLod[2] = { de::clamp(computeNonProjectedTriLod(sampleParams.lodMode, dstSize, srcSize, triS[0], triT[0]) + lodBias, sampleParams.minLod, sampleParams.maxLod), in iterate()
199 de::clamp(computeNonProjectedTriLod(sampleParams.lodMode, dstSize, srcSize, triS[1], triT[1]) + lodBias, sampleParams.minLod, sampleParams.maxLod) }; in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRender.hpp97 float maxLod; member
99 MinMaxLod (float min, float max) : minLod(min), maxLod(max) {} in MinMaxLod()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
H A DvktShaderRender.hpp97 float maxLod; member
99 MinMaxLod (float min, float max) : minLod(min), maxLod(max) {} in MinMaxLod()

Completed in 27 milliseconds

1234