Searched defs:lod (Results 1 - 25 of 39) sorted by relevance

12

/external/chromium_org/third_party/skia/src/utils/
H A DSkPatchGrid.cpp164 SkISize lod = SkPatchUtils::GetLevelOfDetail(cubics, &matrix); local
165 maxCols[x] = SkMax32(maxCols[x], lod.width());
166 maxRows[y] = SkMax32(maxRows[y], lod.height());
/external/chromium_org/third_party/skia/src/core/
H A DSkDevice.cpp88 SkISize lod = SkPatchUtils::GetLevelOfDetail(cubics, draw.fMatrix); local
92 if (SkPatchUtils::getVertexData(&data, cubics, colors, texCoords, lod.width(), lod.height())) {
/external/clang/test/CodeGen/
H A D2008-03-24-BitField-And-Alloca.c54 unsigned int lod : 2; member in struct:_Key::__anon18557
68 if(((iospec.key_io.lod == G_B) &&
/external/chromium_org/third_party/mesa/src/src/mesa/program/
H A Dprog_execute.c1716 GLfloat texcoord[4], color[4], lod; local
1721 lod = texcoord[3];
1723 machine->FetchTexelLod(ctx, texcoord, lod,
/external/mesa3d/src/mesa/program/
H A Dprog_execute.c1716 GLfloat texcoord[4], color[4], lod; local
1721 lod = texcoord[3];
1723 machine->FetchTexelLod(ctx, texcoord, lod,
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_sample_soa.c980 * Calculate cube face, lod, mip levels.
1029 /* Need to compute lod either to choose mipmap levels or to
1123 * depending on the lod being > 0 or <= 0, respectively.
1128 /* minify = lod >= 0.0 */
1567 LLVMValueRef lod; local
1597 lod = LLVMBuildExtractElement(gallivm->builder, explicit_lod, lp_build_const_int32(gallivm, 0), "");
1599 lod = lp_build_broadcast_scalar(&bld_int_vec,
1600 LLVMBuildAdd(gallivm->builder, lod, first_level, "lod"));
1603 lod
[all...]
H A Dlp_bld_sample.c352 * Bri-linear lod computation
384 LLVMValueRef lod,
394 lp_build_printf(bld->gallivm, "lod = %f\n", lod);
397 lod = lp_build_add(bld, lod,
400 lp_build_ifloor_fract(bld, lod, out_lod_ipart, &lod_fpart);
424 * Combined log2 and brilinear lod computation.
481 * \param lod_bias optional float vector with the shader lod bias
482 * \param explicit_lod optional float vector with the explicit lod
383 lp_build_brilinear_lod(struct lp_build_context *bld, LLVMValueRef lod, double factor, LLVMValueRef *out_lod_ipart, LLVMValueRef *out_lod_fpart) argument
503 LLVMValueRef lod; local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_lowering_nv50.cpp582 const int lod = i->tex.target.isShadow() ? (arg + 1) : arg; local
584 // dref comes before bias/lod
587 i->swapSources(dref, lod);
626 // Bias must be equal for all threads of a quad or lod calculation will fail.
696 Value *lod = i->getSrc(i->tex.target.getArgCount()); local
697 if (lod->isUniform())
711 bld.mkQuadop(qop, pred, l, lod, lod)->flagsDef = 0;
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_fs_visitor.cpp751 fs_reg shadow_c, fs_reg lod, fs_reg dPdy)
776 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen), lod);
792 fs_reg &dPdx = lod;
829 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen, BRW_REGISTER_TYPE_UD), lod);
832 /* Oh joy. gen4 doesn't have SIMD8 non-shadow-compare bias/lod
851 /* lod/bias appears after u/v/r. */
854 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen, lod.type), lod);
920 fs_reg shadow_c, fs_reg lod, fs_reg lod2)
976 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen), lod);
750 emit_texture_gen4(ir_texture *ir, fs_reg dst, fs_reg coordinate, fs_reg shadow_c, fs_reg lod, fs_reg dPdy) argument
919 emit_texture_gen5(ir_texture *ir, fs_reg dst, fs_reg coordinate, fs_reg shadow_c, fs_reg lod, fs_reg lod2) argument
1039 emit_texture_gen7(ir_texture *ir, fs_reg dst, fs_reg coordinate, fs_reg shadow_c, fs_reg lod, fs_reg lod2) argument
1304 fs_reg lod, lod2; local
[all...]
H A Dbrw_vec4_visitor.cpp1857 src_reg lod, dPdx, dPdy; local
1860 lod = src_reg(0.0f);
1866 ir->lod_info.lod->accept(this);
1867 lod = this->result;
1868 lod_type = ir->lod_info.lod->type;
1919 emit(MOV(dst_reg(MRF, param_base, lod_type, writemask), lod));
1977 emit(MOV(dst_reg(MRF, mrf, lod_type, writemask), lod));
1980 lod));
/external/deqp/modules/egl/
H A DteglGLES2SharingTests.cpp654 float lod = 0.0f; local
656 tcu::Vec4 color = m_texture.sample(tcu::Sampler(tcu::Sampler::REPEAT_GL, tcu::Sampler::REPEAT_GL, tcu::Sampler::REPEAT_GL, tcu::Sampler::LINEAR, tcu::Sampler::LINEAR), t, s, lod);
/external/deqp/modules/gles2/functional/
H A Des2fShaderTextureFunctionTests.cpp163 float lod; member in struct:deqp::gles2::Functional::__anon19907::TexLookupParams
168 : lod (0.0f)
192 inline Vec4 texture2D (const gls::ShaderEvalContext& c, float s, float t, float lod) { return c.textures[0].tex2D->sample(c.textures[0].sampler, s, t, lod); } argument
193 inline Vec4 textureCube (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) { return c.textures[0].texCube->sample(c.textures[0].sampler, s, t, r, lod); } argument
196 static void evalTexture2D (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), p.lod)*p.scale + p.bias; }
197 static void evalTextureCube (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = textureCube(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod)*p.scale + p.bias; }
199 static void evalTexture2DBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), p.lod+c.in[1].x())*p.scale + p.bias; }
200 static void evalTextureCubeBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = textureCube(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod
[all...]
H A Des2fFboRenderTest.cpp163 const float lod = 0.0f; local
165 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, this->m_uniforms[0].sampler.tex2D->sample(v_coord.x(), v_coord.y(), lod));
226 const float lod = 0.0f; local
228 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, this->m_uniforms[0].sampler.tex2D->sample(v_coord.x(), v_coord.y(), lod) * 0.5f
229 + this->m_uniforms[1].sampler.tex2D->sample(v_coord.x(), v_coord.y(), lod) * 0.5f);
H A Des2fVertexTextureTests.cpp356 static inline Vec4 sample (const tcu::Texture2D& tex, const Vec2& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), lod); } argument
357 static inline Vec4 sample (const tcu::TextureCube& tex, const Vec3& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), coord.z(), lod); } argument
360 void computeReference (const typename TexTypeTcuClass<TexType>::t& texture, float lod, const tcu::Sampler& sampler, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst, const Rect& dstRegion) argument
371 quadColors[ndx] = sample(texture, coord, lod, sampler);
402 void setupShaderInputs (int textureNdx, float lod, const Grid& grid) const;
403 void renderCell (int textureNdx, float lod, const Grid& grid) const;
404 void computeReferenceCell (int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, const Rect& dstRegion) const;
602 const float lod local
630 setupShaderInputs(int textureNdx, float lod, const Grid& grid) const argument
677 renderCell(int textureNdx, float lod, const Grid& grid) const argument
683 computeReferenceCell(int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, const Rect& dstRegion) const argument
934 const float lod = calculateLod(rend.texCoordScale, rend.region.size().asFloat(), rend.textureNdx); local
962 setupShaderInputs(int textureNdx, float lod, const Grid& grid) const argument
1009 renderCell(int textureNdx, float lod, const Grid& grid) const argument
1016 computeReferenceCell(int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, const Rect& dstRegion) const argument
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fTextureFilteringTests.cpp682 tcu::Vec2 lod; member in struct:deqp::gles3::Functional::Texture2DArrayFilteringCase::FilterCase
693 , lod (lod_)
848 m_testCtx.getLog() << TestLog::Message << "Approximate lod per axis = " << curCase.lod << ", offset = " << curCase.offset << TestLog::EndMessage;
851 const float lodX = curCase.lod.x();
852 const float lodY = curCase.lod.y();
948 tcu::Vec3 lod; member in struct:deqp::gles3::Functional::Texture3DFilteringCase::FilterCase
958 , lod (lod_)
1088 m_testCtx.getLog() << TestLog::Message << "Approximate lod per axis = " << curCase.lod << ", offse
[all...]
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_sample_soa.c980 * Calculate cube face, lod, mip levels.
1029 /* Need to compute lod either to choose mipmap levels or to
1123 * depending on the lod being > 0 or <= 0, respectively.
1128 /* minify = lod >= 0.0 */
1567 LLVMValueRef lod; local
1597 lod = LLVMBuildExtractElement(gallivm->builder, explicit_lod, lp_build_const_int32(gallivm, 0), "");
1599 lod = lp_build_broadcast_scalar(&bld_int_vec,
1600 LLVMBuildAdd(gallivm->builder, lod, first_level, "lod"));
1603 lod
[all...]
H A Dlp_bld_sample.c352 * Bri-linear lod computation
384 LLVMValueRef lod,
394 lp_build_printf(bld->gallivm, "lod = %f\n", lod);
397 lod = lp_build_add(bld, lod,
400 lp_build_ifloor_fract(bld, lod, out_lod_ipart, &lod_fpart);
424 * Combined log2 and brilinear lod computation.
481 * \param lod_bias optional float vector with the shader lod bias
482 * \param explicit_lod optional float vector with the explicit lod
383 lp_build_brilinear_lod(struct lp_build_context *bld, LLVMValueRef lod, double factor, LLVMValueRef *out_lod_ipart, LLVMValueRef *out_lod_fpart) argument
503 LLVMValueRef lod; local
[all...]
/external/mesa3d/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_lowering_nv50.cpp582 const int lod = i->tex.target.isShadow() ? (arg + 1) : arg; local
584 // dref comes before bias/lod
587 i->swapSources(dref, lod);
626 // Bias must be equal for all threads of a quad or lod calculation will fail.
696 Value *lod = i->getSrc(i->tex.target.getArgCount()); local
697 if (lod->isUniform())
711 bld.mkQuadop(qop, pred, l, lod, lod)->flagsDef = 0;
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_fs_visitor.cpp751 fs_reg shadow_c, fs_reg lod, fs_reg dPdy)
776 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen), lod);
792 fs_reg &dPdx = lod;
829 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen, BRW_REGISTER_TYPE_UD), lod);
832 /* Oh joy. gen4 doesn't have SIMD8 non-shadow-compare bias/lod
851 /* lod/bias appears after u/v/r. */
854 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen, lod.type), lod);
920 fs_reg shadow_c, fs_reg lod, fs_reg lod2)
976 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen), lod);
750 emit_texture_gen4(ir_texture *ir, fs_reg dst, fs_reg coordinate, fs_reg shadow_c, fs_reg lod, fs_reg dPdy) argument
919 emit_texture_gen5(ir_texture *ir, fs_reg dst, fs_reg coordinate, fs_reg shadow_c, fs_reg lod, fs_reg lod2) argument
1039 emit_texture_gen7(ir_texture *ir, fs_reg dst, fs_reg coordinate, fs_reg shadow_c, fs_reg lod, fs_reg lod2) argument
1304 fs_reg lod, lod2; local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/
H A Dtgsi_exec.c1755 const union tgsi_exec_channel *lod = &ZeroVec; local
1762 lod = &r[3];
1781 &r[0], &ZeroVec, &ZeroVec, lod, /* S, T, P, LOD */
1794 &r[0], &ZeroVec, &r[2], lod, /* S, T, P, LOD */
1814 &r[0], &r[1], &r[2], lod, /* S, T, P, LOD */
1828 &r[0], &r[1], &ZeroVec, lod, /* S, T, P, LOD */
1842 &r[0], &r[1], &r[2], lod, /* S, T, P, LOD */
1858 &r[0], &r[1], &r[2], lod, /* S, T, P, LOD */
1887 &r[0], &r[1], &r[2], lod,
2103 const union tgsi_exec_channel *lod local
[all...]
/external/chromium_org/third_party/mesa/src/src/glsl/
H A Dir.h1355 * (txl <type> <sampler> <coordinate> 0 1 ( ) <lod>)
1357 * (txf <type> <sampler> <coordinate> 0 <lod>)
1358 * (txs <type> <sampler> <lod>)
1422 ir_rvalue *lod; /**< Floating point LOD */ member in union:ir_texture::__anon14257
/external/deqp/framework/common/
H A DtcuTexture.hpp175 float lodThreshold; // lod <= lodThreshold ? magnified : minified
360 Vec4 sampleLevelArray1D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, int level, float lod);
361 Vec4 sampleLevelArray2D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, int depth, float lod);
362 Vec4 sampleLevelArray3D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, float r, float lod);
364 Vec4 sampleLevelArray1DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float lod, const IVec2& offset);
365 Vec4 sampleLevelArray2DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, float lod, const IVec3& offset);
366 Vec4 sampleLevelArray3DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, float r, float lod, const IVec3& offset);
368 float sampleLevelArray1DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float ref, float s, float lod, const IVec2& offset);
369 float sampleLevelArray2DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float ref, float s, float t, float lod, const IVec3& offset);
421 Vec4 sample (const Sampler& sampler, float s, float lod) cons
443 sampleOffset(const Sampler& sampler, float s, float lod, deInt32 offset) const argument
453 sampleCompareOffset(const Sampler& sampler, float ref, float s, float lod, deInt32 offset) const argument
497 sampleOffset(const Sampler& sampler, float s, float t, float lod, const IVec2& offset) const argument
507 sampleCompareOffset(const Sampler& sampler, float ref, float s, float t, float lod, const IVec2& offset) const argument
594 sampleOffset(const Sampler& sampler, float s, float lod, deInt32 offset) const argument
645 sampleOffset(const Sampler& sampler, float s, float t, float lod, const IVec2& offset) const argument
655 sampleCompareOffset(const Sampler& sampler, float ref, float s, float t, float lod, const IVec2& offset) const argument
853 sampleOffset(const Sampler& sampler, float s, float t, float lod, deInt32 offset) const argument
863 sampleCompareOffset(const Sampler& sampler, float ref, float s, float t, float lod, deInt32 offset) const argument
914 sampleOffset(const Sampler& sampler, float s, float t, float r, float lod, const IVec2& offset) const argument
924 sampleCompareOffset(const Sampler& sampler, float ref, float s, float t, float r, float lod, const IVec2& offset) const argument
967 sampleOffset(const Sampler& sampler, float s, float t, float r, float lod, const IVec3& offset) const argument
1013 sampleOffset(const Sampler& sampler, float s, float t, float r, float lod, const IVec3& offset) const argument
1086 sampleOffset(const Sampler& sampler, float s, float t, float r, float q, float lod, const IVec2& offset) const argument
1096 sampleCompareOffset(const Sampler& sampler, float ref, float s, float t, float r, float q, float lod, const IVec2& offset) const argument
[all...]
/external/deqp/framework/randomshaders/
H A DrsgExpression.cpp1650 ExecConstValueAccess lod = m_lodBiasExpr->getValue(); local
1656 float l = lod.component(0).asFloat(i);
1683 ExecConstValueAccess lod = m_lodBiasExpr->getValue(); local
1690 float l = lod.component(0).asFloat(i);
1717 ExecConstValueAccess lod = m_lodBiasExpr->getValue(); local
1724 float l = lod.component(0).asFloat(i);
/external/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_exec.c1755 const union tgsi_exec_channel *lod = &ZeroVec; local
1762 lod = &r[3];
1781 &r[0], &ZeroVec, &ZeroVec, lod, /* S, T, P, LOD */
1794 &r[0], &ZeroVec, &r[2], lod, /* S, T, P, LOD */
1814 &r[0], &r[1], &r[2], lod, /* S, T, P, LOD */
1828 &r[0], &r[1], &ZeroVec, lod, /* S, T, P, LOD */
1842 &r[0], &r[1], &r[2], lod, /* S, T, P, LOD */
1858 &r[0], &r[1], &r[2], lod, /* S, T, P, LOD */
1887 &r[0], &r[1], &r[2], lod,
2103 const union tgsi_exec_channel *lod local
[all...]
/external/mesa3d/src/glsl/
H A Dir.h1355 * (txl <type> <sampler> <coordinate> 0 1 ( ) <lod>)
1357 * (txf <type> <sampler> <coordinate> 0 <lod>)
1358 * (txs <type> <sampler> <lod>)
1422 ir_rvalue *lod; /**< Floating point LOD */ member in union:ir_texture::__anon27668

Completed in 6879 milliseconds

12