Home
last modified time | relevance | path

Searched refs:lod (Results 1 – 25 of 97) sorted by relevance

1234

/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
DLODGeomap.java84 … Vector2f tcOffset, float offsetAmount, int totalSize, boolean center, int lod, boolean rightLod, … in createMesh() argument
88 IntBuffer ib = writeIndexArrayLodDiff(null, lod, rightLod, topLod, leftLod, bottomLod); in createMesh()
155 …public IntBuffer writeIndexArrayLodDiff(IntBuffer store, int lod, boolean rightLod, boolean topLod… in writeIndexArrayLodDiff() argument
158 int numIndexes = calculateNumIndexesLodDiff(lod); in writeIndexArrayLodDiff()
168 for (int r = lod; r < getWidth() - (2 * lod); r += lod) { // row in writeIndexArrayLodDiff()
170 int nextRowIdx = (r + 1 * lod) * getWidth(); in writeIndexArrayLodDiff()
171 for (int c = lod; c < getWidth() - (1 * lod); c += lod) { // column in writeIndexArrayLodDiff()
179 if (r < getWidth() - (3 * lod)) { in writeIndexArrayLodDiff()
180 int idx = nextRowIdx + getWidth() - (1 * lod) - 1; in writeIndexArrayLodDiff()
182 idx = nextRowIdx + (1 * lod); // inset by 1 in writeIndexArrayLodDiff()
[all …]
/external/chromium_org/third_party/mesa/src/src/glsl/builtins/profiles/
D120.vert5 vec4 texture1DLod (sampler1D sampler, float coord, float lod);
6 vec4 texture1DProjLod(sampler1D sampler, vec2 coord, float lod);
7 vec4 texture1DProjLod(sampler1D sampler, vec4 coord, float lod);
9 vec4 texture2DLod (sampler2D sampler, vec2 coord, float lod);
10 vec4 texture2DProjLod(sampler2D sampler, vec3 coord, float lod);
11 vec4 texture2DProjLod(sampler2D sampler, vec4 coord, float lod);
13 vec4 texture3DLod (sampler3D sampler, vec3 coord, float lod);
14 vec4 texture3DProjLod(sampler3D sampler, vec4 coord, float lod);
16 vec4 textureCubeLod (samplerCube sampler, vec3 coord, float lod);
18 vec4 shadow1DLod (sampler1DShadow sampler, vec3 coord, float lod);
[all …]
D110.vert9 vec4 texture1DLod (sampler1D sampler, float coord, float lod);
10 vec4 texture1DProjLod(sampler1D sampler, vec2 coord, float lod);
11 vec4 texture1DProjLod(sampler1D sampler, vec4 coord, float lod);
13 vec4 texture2DLod (sampler2D sampler, vec2 coord, float lod);
14 vec4 texture2DProjLod(sampler2D sampler, vec3 coord, float lod);
15 vec4 texture2DProjLod(sampler2D sampler, vec4 coord, float lod);
17 vec4 texture3DLod (sampler3D sampler, vec3 coord, float lod);
18 vec4 texture3DProjLod(sampler3D sampler, vec4 coord, float lod);
20 vec4 textureCubeLod (samplerCube sampler, vec3 coord, float lod);
22 vec4 shadow1DLod (sampler1DShadow sampler, vec3 coord, float lod);
[all …]
DARB_shader_texture_lod.frag5 vec4 texture1DLod (sampler1D sampler, float coord, float lod);
6 vec4 texture1DProjLod(sampler1D sampler, vec2 coord, float lod);
7 vec4 texture1DProjLod(sampler1D sampler, vec4 coord, float lod);
8 vec4 texture2DLod (sampler2D sampler, vec2 coord, float lod);
9 vec4 texture2DProjLod(sampler2D sampler, vec3 coord, float lod);
10 vec4 texture2DProjLod(sampler2D sampler, vec4 coord, float lod);
11 vec4 texture3DLod (sampler3D sampler, vec3 coord, float lod);
12 vec4 texture3DProjLod(sampler3D sampler, vec4 coord, float lod);
13 vec4 textureCubeLod (samplerCube sampler, vec3 coord, float lod);
14 vec4 shadow1DLod (sampler1DShadow sampler, vec3 coord, float lod);
[all …]
D130.glsl472 int textureSize( sampler1D sampler, int lod);
473 int textureSize(isampler1D sampler, int lod);
474 int textureSize(usampler1D sampler, int lod);
476 ivec2 textureSize( sampler2D sampler, int lod);
477 ivec2 textureSize(isampler2D sampler, int lod);
478 ivec2 textureSize(usampler2D sampler, int lod);
480 ivec3 textureSize( sampler3D sampler, int lod);
481 ivec3 textureSize(isampler3D sampler, int lod);
482 ivec3 textureSize(usampler3D sampler, int lod);
484 ivec2 textureSize( samplerCube sampler, int lod);
[all …]
D140.glsl476 int textureSize( sampler1D sampler, int lod);
477 int textureSize(isampler1D sampler, int lod);
478 int textureSize(usampler1D sampler, int lod);
480 ivec2 textureSize( sampler2D sampler, int lod);
481 ivec2 textureSize(isampler2D sampler, int lod);
482 ivec2 textureSize(usampler2D sampler, int lod);
484 ivec3 textureSize( sampler3D sampler, int lod);
485 ivec3 textureSize(isampler3D sampler, int lod);
486 ivec3 textureSize(usampler3D sampler, int lod);
488 ivec2 textureSize( samplerCube sampler, int lod);
[all …]
D100.vert2 vec4 texture2DLod (sampler2D sampler, vec2 coord, float lod);
3 vec4 texture2DProjLod(sampler2D sampler, vec3 coord, float lod);
4 vec4 texture2DProjLod(sampler2D sampler, vec4 coord, float lod);
6 vec4 textureCubeLod (samplerCube sampler, vec3 coord, float lod);
DEXT_texture_array.vert3 vec4 texture1DArrayLod(sampler1DArray sampler, vec2 coord, float lod);
6 vec4 texture2DArrayLod(sampler2DArray sampler, vec3 coord, float lod);
9 vec4 shadow1DArrayLod(sampler1DArrayShadow sampler, vec3 coord, float lod);
DOES_texture_3D.vert6 vec4 texture3DLod (sampler3D sampler, vec3 coord, float lod);
7 vec4 texture3DProjLod (sampler3D sampler, vec4 coord, float lod);
/external/mesa3d/src/glsl/builtins/profiles/
D120.vert5 vec4 texture1DLod (sampler1D sampler, float coord, float lod);
6 vec4 texture1DProjLod(sampler1D sampler, vec2 coord, float lod);
7 vec4 texture1DProjLod(sampler1D sampler, vec4 coord, float lod);
9 vec4 texture2DLod (sampler2D sampler, vec2 coord, float lod);
10 vec4 texture2DProjLod(sampler2D sampler, vec3 coord, float lod);
11 vec4 texture2DProjLod(sampler2D sampler, vec4 coord, float lod);
13 vec4 texture3DLod (sampler3D sampler, vec3 coord, float lod);
14 vec4 texture3DProjLod(sampler3D sampler, vec4 coord, float lod);
16 vec4 textureCubeLod (samplerCube sampler, vec3 coord, float lod);
18 vec4 shadow1DLod (sampler1DShadow sampler, vec3 coord, float lod);
[all …]
D110.vert9 vec4 texture1DLod (sampler1D sampler, float coord, float lod);
10 vec4 texture1DProjLod(sampler1D sampler, vec2 coord, float lod);
11 vec4 texture1DProjLod(sampler1D sampler, vec4 coord, float lod);
13 vec4 texture2DLod (sampler2D sampler, vec2 coord, float lod);
14 vec4 texture2DProjLod(sampler2D sampler, vec3 coord, float lod);
15 vec4 texture2DProjLod(sampler2D sampler, vec4 coord, float lod);
17 vec4 texture3DLod (sampler3D sampler, vec3 coord, float lod);
18 vec4 texture3DProjLod(sampler3D sampler, vec4 coord, float lod);
20 vec4 textureCubeLod (samplerCube sampler, vec3 coord, float lod);
22 vec4 shadow1DLod (sampler1DShadow sampler, vec3 coord, float lod);
[all …]
DARB_shader_texture_lod.frag5 vec4 texture1DLod (sampler1D sampler, float coord, float lod);
6 vec4 texture1DProjLod(sampler1D sampler, vec2 coord, float lod);
7 vec4 texture1DProjLod(sampler1D sampler, vec4 coord, float lod);
8 vec4 texture2DLod (sampler2D sampler, vec2 coord, float lod);
9 vec4 texture2DProjLod(sampler2D sampler, vec3 coord, float lod);
10 vec4 texture2DProjLod(sampler2D sampler, vec4 coord, float lod);
11 vec4 texture3DLod (sampler3D sampler, vec3 coord, float lod);
12 vec4 texture3DProjLod(sampler3D sampler, vec4 coord, float lod);
13 vec4 textureCubeLod (samplerCube sampler, vec3 coord, float lod);
14 vec4 shadow1DLod (sampler1DShadow sampler, vec3 coord, float lod);
[all …]
D130.glsl472 int textureSize( sampler1D sampler, int lod);
473 int textureSize(isampler1D sampler, int lod);
474 int textureSize(usampler1D sampler, int lod);
476 ivec2 textureSize( sampler2D sampler, int lod);
477 ivec2 textureSize(isampler2D sampler, int lod);
478 ivec2 textureSize(usampler2D sampler, int lod);
480 ivec3 textureSize( sampler3D sampler, int lod);
481 ivec3 textureSize(isampler3D sampler, int lod);
482 ivec3 textureSize(usampler3D sampler, int lod);
484 ivec2 textureSize( samplerCube sampler, int lod);
[all …]
D140.glsl476 int textureSize( sampler1D sampler, int lod);
477 int textureSize(isampler1D sampler, int lod);
478 int textureSize(usampler1D sampler, int lod);
480 ivec2 textureSize( sampler2D sampler, int lod);
481 ivec2 textureSize(isampler2D sampler, int lod);
482 ivec2 textureSize(usampler2D sampler, int lod);
484 ivec3 textureSize( sampler3D sampler, int lod);
485 ivec3 textureSize(isampler3D sampler, int lod);
486 ivec3 textureSize(usampler3D sampler, int lod);
488 ivec2 textureSize( samplerCube sampler, int lod);
[all …]
D100.vert2 vec4 texture2DLod (sampler2D sampler, vec2 coord, float lod);
3 vec4 texture2DProjLod(sampler2D sampler, vec3 coord, float lod);
4 vec4 texture2DProjLod(sampler2D sampler, vec4 coord, float lod);
6 vec4 textureCubeLod (samplerCube sampler, vec3 coord, float lod);
DEXT_texture_array.vert3 vec4 texture1DArrayLod(sampler1DArray sampler, vec2 coord, float lod);
6 vec4 texture2DArrayLod(sampler2DArray sampler, vec3 coord, float lod);
9 vec4 shadow1DArrayLod(sampler1DArrayShadow sampler, vec3 coord, float lod);
DOES_texture_3D.vert6 vec4 texture3DLod (sampler3D sampler, vec3 coord, float lod);
7 vec4 texture3DProjLod (sampler3D sampler, vec4 coord, float lod);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.c384 LLVMValueRef lod, in lp_build_brilinear_lod() argument
394 lp_build_printf(bld->gallivm, "lod = %f\n", lod); in lp_build_brilinear_lod()
397 lod = lp_build_add(bld, lod, in lp_build_brilinear_lod()
400 lp_build_ifloor_fract(bld, lod, out_lod_ipart, &lod_fpart); in lp_build_brilinear_lod()
503 LLVMValueRef lod; in lp_build_lod_selector() local
515 lod = lp_build_broadcast_scalar(perquadf_bld, min_lod); in lp_build_lod_selector()
519 lod = lp_build_pack_aos_scalars(bld->gallivm, bld->coord_bld.type, in lp_build_lod_selector()
556 lod = lp_build_log2(perquadf_bld, rho); in lp_build_lod_selector()
559 lod = lp_build_fast_log2(perquadf_bld, rho); in lp_build_lod_selector()
566 lod = LLVMBuildFAdd(builder, lod, lod_bias, "shader_lod_bias"); in lp_build_lod_selector()
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.c384 LLVMValueRef lod, in lp_build_brilinear_lod() argument
394 lp_build_printf(bld->gallivm, "lod = %f\n", lod); in lp_build_brilinear_lod()
397 lod = lp_build_add(bld, lod, in lp_build_brilinear_lod()
400 lp_build_ifloor_fract(bld, lod, out_lod_ipart, &lod_fpart); in lp_build_brilinear_lod()
503 LLVMValueRef lod; in lp_build_lod_selector() local
515 lod = lp_build_broadcast_scalar(perquadf_bld, min_lod); in lp_build_lod_selector()
519 lod = lp_build_pack_aos_scalars(bld->gallivm, bld->coord_bld.type, in lp_build_lod_selector()
556 lod = lp_build_log2(perquadf_bld, rho); in lp_build_lod_selector()
559 lod = lp_build_fast_log2(perquadf_bld, rho); in lp_build_lod_selector()
566 lod = LLVMBuildFAdd(builder, lod, lod_bias, "shader_lod_bias"); in lp_build_lod_selector()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/
Dsp_tex_sample.c1439 float lod[TGSI_QUAD_SIZE]) in compute_lod()
1444 lod[i] = biased_lambda + lodbias[i]; in compute_lod()
1445 lod[i] = CLAMP(lod[i], sampler->min_lod, sampler->max_lod); in compute_lod()
1462 float lod[TGSI_QUAD_SIZE]; in mip_filter_linear() local
1466 compute_lod(samp->sampler, lambda, c0, lod); in mip_filter_linear()
1470 memcpy(lod, c0, sizeof(lod)); in mip_filter_linear()
1474 int level0 = samp->view->u.tex.first_level + (int)lod[j]; in mip_filter_linear()
1476 if (lod[j] < 0.0) in mip_filter_linear()
1483 float levelBlend = frac(lod[j]); in mip_filter_linear()
1518 float lod[TGSI_QUAD_SIZE]; in mip_filter_nearest() local
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c1439 float lod[TGSI_QUAD_SIZE]) in compute_lod()
1444 lod[i] = biased_lambda + lodbias[i]; in compute_lod()
1445 lod[i] = CLAMP(lod[i], sampler->min_lod, sampler->max_lod); in compute_lod()
1462 float lod[TGSI_QUAD_SIZE]; in mip_filter_linear() local
1466 compute_lod(samp->sampler, lambda, c0, lod); in mip_filter_linear()
1470 memcpy(lod, c0, sizeof(lod)); in mip_filter_linear()
1474 int level0 = samp->view->u.tex.first_level + (int)lod[j]; in mip_filter_linear()
1476 if (lod[j] < 0.0) in mip_filter_linear()
1483 float levelBlend = frac(lod[j]); in mip_filter_linear()
1518 float lod[TGSI_QUAD_SIZE]; in mip_filter_nearest() local
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
Dbrw_fs_visitor.cpp751 fs_reg shadow_c, fs_reg lod, fs_reg dPdy) in emit_texture_gen4() argument
776 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen), lod); in emit_texture_gen4()
792 fs_reg &dPdx = lod; in emit_texture_gen4()
829 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen, BRW_REGISTER_TYPE_UD), lod); in emit_texture_gen4()
854 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen, lod.type), lod); in emit_texture_gen4()
920 fs_reg shadow_c, fs_reg lod, fs_reg lod2) in emit_texture_gen5() argument
976 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen), lod); in emit_texture_gen5()
983 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen), lod); in emit_texture_gen5()
1001 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen), lod); in emit_texture_gen5()
1002 lod.reg_offset++; in emit_texture_gen5()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs_visitor.cpp751 fs_reg shadow_c, fs_reg lod, fs_reg dPdy) in emit_texture_gen4() argument
776 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen), lod); in emit_texture_gen4()
792 fs_reg &dPdx = lod; in emit_texture_gen4()
829 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen, BRW_REGISTER_TYPE_UD), lod); in emit_texture_gen4()
854 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen, lod.type), lod); in emit_texture_gen4()
920 fs_reg shadow_c, fs_reg lod, fs_reg lod2) in emit_texture_gen5() argument
976 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen), lod); in emit_texture_gen5()
983 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen), lod); in emit_texture_gen5()
1001 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen), lod); in emit_texture_gen5()
1002 lod.reg_offset++; in emit_texture_gen5()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DGeometry.java151 public void setLodLevel(int lod) { in setLodLevel() argument
156 if (lod < 0 || lod >= mesh.getNumLodLevels()) { in setLodLevel()
157 throw new IllegalArgumentException("LOD level is out of range: " + lod); in setLodLevel()
160 lodLevel = lod; in setLodLevel()
/external/clang/test/CodeGen/
D2008-03-24-BitField-And-Alloca.c54 unsigned int lod : 2; member
68 if(((iospec.key_io.lod == G_B) && in foo()

1234