Searched refs:lodOrBias (Results 1 – 4 of 4) sorted by relevance
/external/swiftshader/src/Pipeline/ |
D | SpirvShaderSampling.cpp | 108 …SIMD::Float lodOrBias; // Explicit level-of-detail, or bias added to the implicit level-of-detail… in emitSamplerRoutine() local 129 lodOrBias = in[i]; in emitSamplerRoutine() 161 auto lod = Pointer<Float>(&lodOrBias); in emitSamplerRoutine() 187 …Vector4f sample = s.sampleTexture(texture, uvwa, dRef, lodOrBias.x, (dsx.x), (dsy.x), offset, samp… in emitSamplerRoutine()
|
D | SpirvShaderImage.cpp | 172 bool lodOrBias = false; in EmitImageSampleUnconditional() local 190 lodOrBias = true; in EmitImageSampleUnconditional() 201 lodOrBias = true; in EmitImageSampleUnconditional() 209 …ASSERT(!lodOrBias); // SPIR-V 1.3: "It is invalid to set both the Lod and Grad bits." Bias is for… in EmitImageSampleUnconditional() 275 if(lodOrBias) in EmitImageSampleUnconditional()
|
D | SamplerCore.hpp | 61 …Vector4f sampleTexture(Pointer<Byte> &texture, Float4 uvwa[4], Float4 &q, Float &&lodOrBias, Float…
|
D | SamplerCore.cpp | 29 …leTexture(Pointer<Byte> &texture, Float4 uvwa[4], Float4 &dRef, Float &&lodOrBias, Float4 &dsx, Fl… in sampleTexture() argument 81 bias = Min(Max(bias + lodOrBias, -vk::MAX_SAMPLER_LOD_BIAS), vk::MAX_SAMPLER_LOD_BIAS); in sampleTexture() 90 lod = lodOrBias + state.mipLodBias; in sampleTexture() 95 lod = Float(As<Int>(lodOrBias)); in sampleTexture()
|