/external/angle/src/libANGLE/ |
D | ImageIndexIterator_unittest.cpp | 29 for (GLint mip = minMip; mip < maxMip; mip++) in TEST() local 37 EXPECT_EQ(mip, nextIndex.getLevelIndex()); in TEST() 56 for (GLint mip = minMip; mip < maxMip; mip++) in TEST() local 65 EXPECT_EQ(mip, nextIndex.getLevelIndex()); in TEST() 80 for (GLint mip = minMip; mip < maxMip; mip++) in TEST() local 89 EXPECT_EQ(mip, nextIndex.getLevelIndex()); in TEST() 108 for (GLint mip = minMip; mip < maxMip; mip++) in TEST() local 110 for (GLint layer = 0; layer < layerCounts[mip]; layer++) in TEST() 117 EXPECT_EQ(mip, nextIndex.getLevelIndex()); in TEST() 134 for (GLint mip = minMip; mip < maxMip; mip++) in TEST() local [all …]
|
/external/llvm-project/llvm/test/CodeGen/AMDGPU/ |
D | image_ls_mipmap_zero.ll | 10 …%v = call <4 x float> @llvm.amdgcn.image.load.mip.1d.v4f32.i32(i32 15, i32 %s, i32 0, <8 x i32> %r… 19 …%v = call <4 x float> @llvm.amdgcn.image.load.mip.2d.v4f32.i32(i32 15, i32 %s, i32 %t, i32 0, <8 x… 28 …%v = call <4 x float> @llvm.amdgcn.image.load.mip.3d.v4f32.i32(i32 15, i32 %s, i32 %t, i32 %u, i32… 37 …%v = call <4 x float> @llvm.amdgcn.image.load.mip.1darray.v4f32.i32(i32 15, i32 %s, i32 %t, i32 0,… 46 …%v = call <4 x float> @llvm.amdgcn.image.load.mip.2darray.v4f32.i32(i32 15, i32 %s, i32 %t, i32 %u… 55 …%v = call <4 x float> @llvm.amdgcn.image.load.mip.cube.v4f32.i32(i32 15, i32 %s, i32 %t, i32 %u, i… 66 …call void @llvm.amdgcn.image.store.mip.1d.v4f32.i32(<4 x float> %vdata, i32 15, i32 %s, i32 0, <8 … 75 …call void @llvm.amdgcn.image.store.mip.2d.v4f32.i32(<4 x float> %vdata, i32 15, i32 %s, i32 %t, i3… 84 …call void @llvm.amdgcn.image.store.mip.3d.v4f32.i32(<4 x float> %vdata, i32 15, i32 %s, i32 %t, i3… 93 …call void @llvm.amdgcn.image.store.mip.1darray.v4f32.i32(<4 x float> %vdata, i32 15, i32 %s, i32 %… [all …]
|
D | llvm.amdgcn.image.a16.dim.ll | 176 %mip = extractelement <2 x i16> %coords, i32 1 177 …%v = call <4 x float> @llvm.amdgcn.image.load.mip.1d.v4f32.i16(i32 15, i16 %s, i16 %mip, <8 x i32>… 196 %mip = extractelement <2 x i16> %coords_hi, i32 0 197 …%v = call <4 x float> @llvm.amdgcn.image.load.mip.2d.v4f32.i16(i32 15, i16 %s, i16 %t, i16 %mip, <… 217 %mip = extractelement <2 x i16> %coords_hi, i32 1 218 …%v = call <4 x float> @llvm.amdgcn.image.load.mip.3d.v4f32.i16(i32 15, i16 %s, i16 %t, i16 %r, i16… 238 %mip = extractelement <2 x i16> %coords_hi, i32 1 239 …v = call <4 x float> @llvm.amdgcn.image.load.mip.cube.v4f32.i16(i32 15, i16 %s, i16 %t, i16 %slice… 258 %mip = extractelement <2 x i16> %coords_hi, i32 0 259 …%v = call <4 x float> @llvm.amdgcn.image.load.mip.1darray.v4f32.i16(i32 15, i16 %s, i16 %slice, i1… [all …]
|
D | llvm.amdgcn.image.a16.encode.ll | 176 %mip = extractelement <2 x i16> %coords, i32 1 177 …%v = call <4 x float> @llvm.amdgcn.image.load.mip.1d.v4f32.i16(i32 15, i16 %s, i16 %mip, <8 x i32>… 196 %mip = extractelement <2 x i16> %coords_hi, i32 0 197 …%v = call <4 x float> @llvm.amdgcn.image.load.mip.2d.v4f32.i16(i32 15, i16 %s, i16 %t, i16 %mip, <… 217 %mip = extractelement <2 x i16> %coords_hi, i32 1 218 …%v = call <4 x float> @llvm.amdgcn.image.load.mip.3d.v4f32.i16(i32 15, i16 %s, i16 %t, i16 %r, i16… 238 %mip = extractelement <2 x i16> %coords_hi, i32 1 239 …v = call <4 x float> @llvm.amdgcn.image.load.mip.cube.v4f32.i16(i32 15, i16 %s, i16 %t, i16 %slice… 258 %mip = extractelement <2 x i16> %coords_hi, i32 0 259 …%v = call <4 x float> @llvm.amdgcn.image.load.mip.1darray.v4f32.i16(i32 15, i16 %s, i16 %slice, i1… [all …]
|
D | llvm.amdgcn.image.d16.dim.ll | 56 define amdgpu_ps <2 x float> @image_load_mip_v4f16(<8 x i32> inreg %rsrc, i32 %s, i32 %t, i32 %mip)… 58 …%tex = call <4 x half> @llvm.amdgcn.image.load.mip.2d.v4f16.i32(i32 15, i32 %s, i32 %t, i32 %mip, … 150 define amdgpu_ps void @image_store_mip_1d_v4f16(<8 x i32> inreg %rsrc, i32 %s, i32 %mip, <2 x float… 153 …call void @llvm.amdgcn.image.store.mip.1d.v4f16.i32(<4 x half> %data, i32 15, i32 %s, i32 %mip, <8… 161 declare <4 x half> @llvm.amdgcn.image.load.mip.2d.v4f16.i32(i32, i32, i32, i32, <8 x i32>, i32, i32… 169 declare void @llvm.amdgcn.image.store.mip.1d.v4f16.i32(<4 x half>, i32, i32, i32, <8 x i32>, i32, i…
|
/external/angle/src/libANGLE/renderer/vulkan/shaders/src/third_party/ffx_spd/ |
D | ffx_spd.h | 274 void SpdStore(ASU2 p, AF4 value, AU1 mip){} in SpdStore() argument 401 … SpdDownsampleMips_0_1_Intrinsics(AU1 x, AU1 y, AU2 workGroupID, AU1 localInvocationIndex, AU1 mip) in SpdDownsampleMips_0_1_Intrinsics() argument 425 if (mip <= 1) in SpdDownsampleMips_0_1_Intrinsics() 457 void SpdDownsampleMips_0_1_LDS(AU1 x, AU1 y, AU2 workGroupID, AU1 localInvocationIndex, AU1 mip) in SpdDownsampleMips_0_1_LDS() argument 481 if (mip <= 1) in SpdDownsampleMips_0_1_LDS() 510 void SpdDownsampleMips_0_1(AU1 x, AU1 y, AU2 workGroupID, AU1 localInvocationIndex, AU1 mip) in SpdDownsampleMips_0_1() argument 513 SpdDownsampleMips_0_1_LDS(x, y, workGroupID, localInvocationIndex, mip); in SpdDownsampleMips_0_1() 515 SpdDownsampleMips_0_1_Intrinsics(x, y, workGroupID, localInvocationIndex, mip); in SpdDownsampleMips_0_1() 520 void SpdDownsampleMip_2(AU1 x, AU1 y, AU2 workGroupID, AU1 localInvocationIndex, AU1 mip) in SpdDownsampleMip_2() argument 531 SpdStore(ASU2(workGroupID.xy * 8) + ASU2(x, y), v, mip); in SpdDownsampleMip_2() [all …]
|
/external/angle/src/tests/gl_tests/ |
D | IncompleteTextureTest.cpp | 160 for (GLint mip = 0; mip < 7; ++mip) in TEST_P() local 162 const GLsizei mipSize = redTextureSize >> mip; in TEST_P() 164 glTexImage2D(GL_TEXTURE_2D, mip, GL_RGBA, mipSize, mipSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P() 177 for (GLint mip = 0; mip < 6; ++mip) in TEST_P() local 179 const GLsizei mipSize = greenTextureSize >> mip; in TEST_P() 181 glTexSubImage2D(GL_TEXTURE_2D, mip, mipSize, mipSize, mipSize, mipSize, GL_RGBA, in TEST_P()
|
D | TextureTest.cpp | 477 static constexpr size_t getMipDataSize(size_t mip0Size, size_t mip) in getMipDataSize() argument 479 size_t mipSize = std::max<size_t>(1u, mip0Size >> mip); in getMipDataSize() 486 for (size_t mip = 0; mip < kMipCount; ++mip) in getTotalMipDataSize() local 488 totalCount += getMipDataSize(mip0Size, mip); in getTotalMipDataSize() 493 static constexpr size_t getMipDataOffset(size_t mip0Size, size_t mip) in getMipDataOffset() argument 509 for (size_t m = 0; m < mip; ++m) in getMipDataOffset() 519 for (size_t mip = 0; mip < kMipCount; ++mip) in fillMipData() local 521 size_t offset = getMipDataOffset(mip0Size, mip); in fillMipData() 522 size_t size = getMipDataSize(mip0Size, mip); in fillMipData() 523 std::fill(data + offset, data + offset + size, mipColors[mip]); in fillMipData() [all …]
|
/external/blktrace/ |
D | blktrace.c | 597 static void init_mmap_info(struct mmap_info *mip) in init_mmap_info() argument 599 mip->buf_size = buf_size; in init_mmap_info() 600 mip->buf_nr = buf_nr; in init_mmap_info() 601 mip->pagesize = pagesize; in init_mmap_info() 749 struct mmap_info *mip, in setup_mmap() argument 752 if (mip->fs_off + maxlen > mip->fs_buf_len) { in setup_mmap() 753 unsigned long nr = max(16, mip->buf_nr); in setup_mmap() 755 if (mip->fs_buf) { in setup_mmap() 756 munlock(mip->fs_buf, mip->fs_buf_len); in setup_mmap() 757 munmap(mip->fs_buf, mip->fs_buf_len); in setup_mmap() [all …]
|
/external/angle/src/libANGLE/renderer/metal/shaders/ |
D | gen_mipmap.metal | 62 // ----- First mip level ------- 83 // ---- Second mip level -------- 100 // If the width of mip is 1, texel2 will equal to texel1: 133 // ---- 3rd mip level -------- 143 // If the width of mip is 1, texel2 will equal to texel1: 179 // ---- 4th mip level -------- 189 // If the width of mip is 1, texel2 will equal to texel1: 242 // ----- First mip level ------- 263 // ---- Second mip level -------- 276 // If the width of mip is 1, texel2 will equal to texel1: [all …]
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_resource.c | 172 struct etna_resource_level *mip = &rsc->levels[level]; in setup_miptree() local 174 mip->width = width; in setup_miptree() 175 mip->height = height; in setup_miptree() 176 mip->depth = depth; in setup_miptree() 177 mip->padded_width = align(width * msaa_xscale, paddingX); in setup_miptree() 178 mip->padded_height = align(height * msaa_yscale, paddingY); in setup_miptree() 179 mip->stride = util_format_get_stride(prsc->format, mip->padded_width); in setup_miptree() 180 mip->offset = size; in setup_miptree() 181 mip->layer_stride = mip->stride * util_format_get_nblocksy(prsc->format, mip->padded_height); in setup_miptree() 182 mip->size = prsc->array_size * mip->layer_stride; in setup_miptree() [all …]
|
/external/libvpx/libvpx/vp8/common/ |
D | alloccommon.c | 41 vpx_free(oci->mip); in vp8_de_alloc_frame_buffers() 48 oci->mip = NULL; in vp8_de_alloc_frame_buffers() 89 oci->mip = in vp8_alloc_frame_buffers() 92 if (!oci->mip) goto allocation_fail; in vp8_alloc_frame_buffers() 94 oci->mi = oci->mip + oci->mode_info_stride + 1; in vp8_alloc_frame_buffers()
|
/external/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/ |
D | llvm.amdgcn.image.getresinfo.a16.ll | 5 define amdgpu_ps <4 x float> @getresinfo_1d(<8 x i32> inreg %rsrc, i16 %mip) { 34 …%v = call <4 x float> @llvm.amdgcn.image.getresinfo.1d.v4f32.i16(i32 15, i16 %mip, <8 x i32> %rsrc… 38 define amdgpu_ps <4 x float> @getresinfo_2d(<8 x i32> inreg %rsrc, i16 %mip) { 67 …%v = call <4 x float> @llvm.amdgcn.image.getresinfo.2d.v4f32.i16(i32 15, i16 %mip, <8 x i32> %rsrc… 71 define amdgpu_ps <4 x float> @getresinfo_3d(<8 x i32> inreg %rsrc, i16 %mip) { 100 …%v = call <4 x float> @llvm.amdgcn.image.getresinfo.3d.v4f32.i16(i32 15, i16 %mip, <8 x i32> %rsrc… 104 define amdgpu_ps <4 x float> @getresinfo_cube(<8 x i32> inreg %rsrc, i16 %mip) { 133 …%v = call <4 x float> @llvm.amdgcn.image.getresinfo.cube.v4f32.i16(i32 15, i16 %mip, <8 x i32> %rs… 137 define amdgpu_ps <4 x float> @getresinfo_1darray(<8 x i32> inreg %rsrc, i16 %mip) { 166 …%v = call <4 x float> @llvm.amdgcn.image.getresinfo.1darray.v4f32.i16(i32 15, i16 %mip, <8 x i32> … [all …]
|
D | image_ls_mipmap_zero.ll | 34 …%v = call <4 x float> @llvm.amdgcn.image.load.mip.1d.v4f32.i32(i32 15, i32 %s, i32 0, <8 x i32> %r… 67 …%v = call <4 x float> @llvm.amdgcn.image.load.mip.2d.v4f32.i32(i32 15, i32 %s, i32 %t, i32 0, <8 x… 100 …%v = call <4 x float> @llvm.amdgcn.image.load.mip.3d.v4f32.i32(i32 15, i32 %s, i32 %t, i32 %u, i32… 133 …%v = call <4 x float> @llvm.amdgcn.image.load.mip.1darray.v4f32.i32(i32 15, i32 %s, i32 %t, i32 0,… 166 …%v = call <4 x float> @llvm.amdgcn.image.load.mip.2darray.v4f32.i32(i32 15, i32 %s, i32 %t, i32 %u… 199 …%v = call <4 x float> @llvm.amdgcn.image.load.mip.cube.v4f32.i32(i32 15, i32 %s, i32 %t, i32 %u, i… 230 …call void @llvm.amdgcn.image.store.mip.1d.v4f32.i32(<4 x float> %vdata, i32 15, i32 %s, i32 0, <8 … 261 …call void @llvm.amdgcn.image.store.mip.2d.v4f32.i32(<4 x float> %vdata, i32 15, i32 %s, i32 %t, i3… 292 …call void @llvm.amdgcn.image.store.mip.3d.v4f32.i32(<4 x float> %vdata, i32 15, i32 %s, i32 %t, i3… 323 …call void @llvm.amdgcn.image.store.mip.1darray.v4f32.i32(<4 x float> %vdata, i32 15, i32 %s, i32 %… [all …]
|
D | image_ls_mipmap_zero.a16.ll | 22 …(<4 x s32>) = G_AMDGPU_INTRIN_IMAGE_LOAD intrinsic(@llvm.amdgcn.image.load.mip.1d), 15, [[BUILD_VE… 45 …(<4 x s32>) = G_AMDGPU_INTRIN_IMAGE_LOAD intrinsic(@llvm.amdgcn.image.load.mip.1d), 15, [[BUILD_VE… 53 …%v = call <4 x float> @llvm.amdgcn.image.load.mip.1d.v4f32.i16(i32 15, i16 %s, i16 0, <8 x i32> %r… 75 …(<4 x s32>) = G_AMDGPU_INTRIN_IMAGE_LOAD intrinsic(@llvm.amdgcn.image.load.mip.2d), 15, [[BUILD_VE… 99 …(<4 x s32>) = G_AMDGPU_INTRIN_IMAGE_LOAD intrinsic(@llvm.amdgcn.image.load.mip.2d), 15, [[BUILD_VE… 107 …%v = call <4 x float> @llvm.amdgcn.image.load.mip.2d.v4f32.i16(i32 15, i16 %s, i16 %t, i16 0, <8 x… 134 …(<4 x s32>) = G_AMDGPU_INTRIN_IMAGE_LOAD intrinsic(@llvm.amdgcn.image.load.mip.3d), 15, [[CONCAT_V… 163 …(<4 x s32>) = G_AMDGPU_INTRIN_IMAGE_LOAD intrinsic(@llvm.amdgcn.image.load.mip.3d), 15, [[CONCAT_V… 171 …%v = call <4 x float> @llvm.amdgcn.image.load.mip.3d.v4f32.i16(i32 15, i16 %s, i16 %t, i16 %u, i16… 193 …(<4 x s32>) = G_AMDGPU_INTRIN_IMAGE_LOAD intrinsic(@llvm.amdgcn.image.load.mip.1darray), 15, [[BUI… [all …]
|
D | llvm.amdgcn.image.getresinfo.ll | 6 define amdgpu_ps <4 x float> @getresinfo_1d(<8 x i32> inreg %rsrc, i32 %mip) { 49 …%v = call <4 x float> @llvm.amdgcn.image.getresinfo.1d.v4f32.i32(i32 15, i32 %mip, <8 x i32> %rsrc… 53 define amdgpu_ps <4 x float> @getresinfo_2d(<8 x i32> inreg %rsrc, i32 %mip) { 96 …%v = call <4 x float> @llvm.amdgcn.image.getresinfo.2d.v4f32.i32(i32 15, i32 %mip, <8 x i32> %rsrc… 100 define amdgpu_ps <4 x float> @getresinfo_3d(<8 x i32> inreg %rsrc, i32 %mip) { 143 …%v = call <4 x float> @llvm.amdgcn.image.getresinfo.3d.v4f32.i32(i32 15, i32 %mip, <8 x i32> %rsrc… 147 define amdgpu_ps <4 x float> @getresinfo_cube(<8 x i32> inreg %rsrc, i32 %mip) { 190 …%v = call <4 x float> @llvm.amdgcn.image.getresinfo.cube.v4f32.i32(i32 15, i32 %mip, <8 x i32> %rs… 194 define amdgpu_ps <4 x float> @getresinfo_1darray(<8 x i32> inreg %rsrc, i32 %mip) { 237 …%v = call <4 x float> @llvm.amdgcn.image.getresinfo.1darray.v4f32.i32(i32 15, i32 %mip, <8 x i32> … [all …]
|
/external/angle/src/libANGLE/renderer/vulkan/shaders/src/ |
D | GenerateMipmap.comp | 81 // Use a linear sampler to sample from mip 0 instead of multiple loads and manual averaging. 98 // Loads the 5th mip level, each value is computed by a different thread group 108 void SpdStoreH(ASU2 p, AH4 value, AU1 mip) 110 imageStore(dst[mip], p, AF4(value)); 139 // Loads the 5th mip level, each value is computed by a different thread group 149 void SpdStore(ASU2 p, AF4 value, AU1 mip) 151 imageStore(dst[mip], p, value);
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_loopfilter.c | 887 MODE_INFO **mip = mi8x8; in vp9_setup_mask() local 917 assert(mip[0] != NULL); in vp9_setup_mask() 919 switch (mip[0]->sb_type) { in vp9_setup_mask() 920 case BLOCK_64X64: build_masks(lfi_n, mip[0], 0, 0, lfm); break; in vp9_setup_mask() 922 build_masks(lfi_n, mip[0], 0, 0, lfm); in vp9_setup_mask() 923 mip2 = mip + mode_info_stride * 4; in vp9_setup_mask() 928 build_masks(lfi_n, mip[0], 0, 0, lfm); in vp9_setup_mask() 929 mip2 = mip + 4; in vp9_setup_mask() 934 for (idx_32 = 0; idx_32 < 4; mip += offset_32[idx_32], ++idx_32) { in vp9_setup_mask() 941 switch (mip[0]->sb_type) { in vp9_setup_mask() [all …]
|
/external/openssh/ |
D | match.c | 214 int mhost, mip; in match_host_and_ip() local 216 if ((mip = addr_match_list(ipaddr, patterns)) == -2) in match_host_and_ip() 218 else if (host == NULL || ipaddr == NULL || mip == -1) in match_host_and_ip() 225 if (mhost == 0 && mip == 0) in match_host_and_ip()
|
/external/deqp-deps/glslang/Test/ |
D | hlsl.mip.operator.frag | 8 // test float->uint cast on the mip arg 12 // ....outer operator mip level...... .....outer operator coordinate....
|
/external/angle/third_party/vulkan-deps/glslang/src/Test/ |
D | hlsl.mip.operator.frag | 8 // test float->uint cast on the mip arg 12 // ....outer operator mip level...... .....outer operator coordinate....
|
/external/angle/src/tests/perf_tests/ |
D | TexturesPerf.cpp | 189 for (size_t mip = 0; mip < params.textureMipCount; mip++) in initTextures() local 191 GLsizei levelSize = static_cast<GLsizei>(textureSize >> mip); in initTextures() 192 glTexImage2D(GL_TEXTURE_2D, static_cast<GLint>(mip), GL_RGBA, levelSize, levelSize, 0, in initTextures()
|
/external/mesa3d/src/gallium/drivers/svga/include/ |
D | svga3d_surfacedefs.h | 1053 uint32 mip) in svga3dsurface_get_image_offset() argument 1072 if (i < mip) { in svga3dsurface_get_image_offset() 1091 uint32 mip; in svga3dsurface_get_serialized_size() local 1093 for (mip = 0; mip < num_mip_levels; mip++) { in svga3dsurface_get_serialized_size() 1095 svga3dsurface_get_mip_size(base_level_size, mip); in svga3dsurface_get_serialized_size()
|
/external/llvm-project/clang/test/CodeGen/ |
D | ppc-emmintrin.c | 22 __m128i *mip; variable 1348 resi = _mm_load_si128(mip); in test_load() 1351 resi = _mm_loadl_epi64(mip); in test_load() 1355 resi = _mm_loadu_si128(mip); in test_load() 2899 _mm_store_si128(mip, mi1); in test_store() 2902 _mm_storel_epi64(mip, mi1); in test_store() 2906 _mm_storeu_si128(mip, mi1); in test_store() 3017 _mm_stream_si128(mip, mi1); in test_stream()
|
/external/mesa3d/src/intel/common/tests/ |
D | gen_mi_builder_test.cpp | 696 emit_cmd(GENX(MI_PREDICATE), mip) { in TEST_F() 697 mip.LoadOperation = LOAD_LOAD; in TEST_F() 698 mip.CombineOperation = COMBINE_SET; in TEST_F() 699 mip.CompareOperation = COMPARE_TRUE; in TEST_F() 706 emit_cmd(GENX(MI_PREDICATE), mip) { in TEST_F() 707 mip.LoadOperation = LOAD_LOAD; in TEST_F() 708 mip.CombineOperation = COMBINE_SET; in TEST_F() 709 mip.CompareOperation = COMPARE_FALSE; in TEST_F()
|