Home
last modified time | relevance | path

Searched refs:granularity (Results 1 – 25 of 196) sorted by relevance

12345678

/third_party/glslang/Test/
Dspv.shaderImageFootprint.frag8 layout (location = 3) in flat int granularity;
40 ret2D = textureFootprintNV(sample2D, P2, granularity, true, fp2D);
45 granularity2D = fp2D.granularity;
47 ret2D = textureFootprintNV(sample2D, P2, granularity, true, fp2D, bias);
52 granularity2D += fp2D.granularity;
54 ret2D = textureFootprintClampNV(sample2D, P2, lodClamp, granularity, true, fp2D);
59 granularity2D += fp2D.granularity;
61 ret2D = textureFootprintClampNV(sample2D, P2, lodClamp, granularity, true, fp2D, bias);
66 granularity2D += fp2D.granularity;
68 ret2D = textureFootprintLodNV(sample2D, P2, lod, granularity, true, fp2D);
[all …]
/third_party/pulseaudio/src/tests/
Dstripnul.c33 size_t granularity; in main() local
38 pa_assert_se((granularity = (size_t) atoi(argv[1])) >= 1); in main()
39 pa_assert(granularity <= MAX_BUFFER); in main()
43 zero = pa_xmalloc0(granularity); in main()
49 k = fread(buffer, granularity, sizeof(buffer)/granularity, i); in main()
55 pa_assert_se(fwrite(buffer, granularity, k, o) == k); in main()
57 for (p = buffer; ((size_t) (p-buffer)/granularity) < k; p += granularity) in main()
58 if (memcmp(p, zero, granularity)) { in main()
61 left = (size_t) (k - (size_t) (p-buffer)/granularity); in main()
62 pa_assert_se(fwrite(p, granularity, left, o) == left); in main()
/third_party/skia/src/gpu/vk/
DGrVkOpsRenderPass.cpp134 const VkExtent2D& granularity, in adjust_bounds_to_granularity() argument
138 if ((0 != granularity.width && 1 != granularity.width)) { in adjust_bounds_to_granularity()
140 int rightAdj = srcBounds.fRight % granularity.width; in adjust_bounds_to_granularity()
142 rightAdj = granularity.width - rightAdj; in adjust_bounds_to_granularity()
149 dstBounds->fLeft = srcBounds.fLeft - srcBounds.fLeft % granularity.width; in adjust_bounds_to_granularity()
157 if ((0 != granularity.height && 1 != granularity.height)) { in adjust_bounds_to_granularity()
159 int bottomAdj = srcBounds.fBottom % granularity.height; in adjust_bounds_to_granularity()
161 bottomAdj = granularity.height - bottomAdj; in adjust_bounds_to_granularity()
168 dstBounds->fTop = srcBounds.fTop - srcBounds.fTop % granularity.height; in adjust_bounds_to_granularity()
194 const VkExtent2D& granularity = fCurrentRenderPass->granularity(); in beginRenderPass() local
[all …]
DGrVkRenderPass.cpp309 VkExtent2D granularity; in Create() local
313 &granularity)); in Create()
316 selfDepFlags, loadFromResolve, granularity, clearValueCount); in Create()
323 const VkExtent2D& granularity, uint32_t clearValueCount) in GrVkRenderPass() argument
330 , fGranularity(granularity) in GrVkRenderPass()
DGrVkRenderPass.h152 const VkExtent2D& granularity() const { return fGranularity; } in granularity() function
177 SelfDependencyFlags selfDepFlags, LoadFromResolve, const VkExtent2D& granularity,
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_util.h35 etna_align_up(uint32_t value, uint32_t granularity) in etna_align_up() argument
37 return (value + (granularity - 1)) & (~(granularity - 1)); in etna_align_up()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiGranularityTests.cpp341 VkExtent2D granularity = { 0u, 0u }; in iterate() local
342 vk.getRenderAreaGranularity(device, *m_renderPass, &granularity); in iterate()
343 TCU_CHECK(granularity.width >= 1 && granularity.height >= 1); in iterate()
344 …TCU_CHECK(prePassGranularity.width == granularity.width && prePassGranularity.height == granularit… in iterate()
345 …TCU_CHECK(granularity.width <= m_context.getDeviceProperties().limits.maxFramebufferWidth && granu… in iterate()
350 …Log::Message << "Horizontal granularity: " << granularity.width << " Vertical granularity: " << gr… in iterate()
/third_party/glslang/Test/baseResults/
Dspv.shaderImageFootprint.frag.out27 Name 24 "granularity"
33 MemberName 28(gl_TextureFootprint2DNV) 4 "granularity"
62 MemberName 390(gl_TextureFootprint3DNV) 4 "granularity"
81 Decorate 24(granularity) Flat
82 Decorate 24(granularity) Location 3
118 24(granularity): 23(ptr) Variable Input
173 25: 11(int) Load 24(granularity)
216 74: 11(int) Load 24(granularity)
276 127: 11(int) Load 24(granularity)
335 176: 11(int) Load 24(granularity)
[all …]
/third_party/mesa3d/src/intel/common/
Dintel_urb_config.c108 unsigned granularity[4]; in intel_get_urb_config() local
110 granularity[i] = (entry_size[i] < 9) ? 8 : 1; in intel_get_urb_config()
143 min_entries[i] = ALIGN(min_entries[i], granularity[i]); in intel_get_urb_config()
216 entries[i] = ROUND_DOWN_TO(entries[i], granularity[i]); in intel_get_urb_config()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_pass.c281 VkExtent2D *granularity) in subpass_get_granularity() argument
324 *granularity = (VkExtent2D) { in subpass_get_granularity()
381 VkExtent2D granularity; in v3dv_subpass_area_is_tile_aligned() local
382 subpass_get_granularity(device, pass, subpass_idx, &granularity); in v3dv_subpass_area_is_tile_aligned()
384 return area->offset.x % granularity.width == 0 && in v3dv_subpass_area_is_tile_aligned()
385 area->offset.y % granularity.height == 0 && in v3dv_subpass_area_is_tile_aligned()
386 (area->extent.width % granularity.width == 0 || in v3dv_subpass_area_is_tile_aligned()
389 (area->extent.height % granularity.height == 0 || in v3dv_subpass_area_is_tile_aligned()
/third_party/ntfs-3g/libntfs-3g/
Dioctl.c229 static inline LCN align_up(ntfs_volume *vol, LCN lcn, u64 granularity) in align_up() argument
233 aligned = (lcn << vol->cluster_size_bits) + granularity - 1; in align_up()
234 aligned -= aligned % granularity; in align_up()
238 static inline u64 align_down(ntfs_volume *vol, u64 count, u64 granularity) in align_down() argument
243 aligned -= aligned % granularity; in align_down()
/third_party/openGLES/extensions/NV/
DNV_shader_texture_footprint.txt65 shader. The minimum granularity supported by this extension is 2x2 (for
66 2D textures) and 2x2x2 (for 3D textures); the maximum granularity is
93 limited set of granularity values and does not support separate coverage
119 given by the granularity. The texture footprint query functions return
132 functions also accept a <granularity> parameter and a <coarse> flag used
134 granularity parameter identifies the size of the texel groups used for the
181 of the footprint. The member <granularity> returns information on the
183 than the requested granularity, as described below.
293 requested granularity. In this case, the implementation uses a texel
294 group size that is larger than the requested granularity. If a larger
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_sdma_copy_image.c341 unsigned granularity; in cik_sdma_copy_texture() local
346 granularity = bpp == 1 ? 64 / (8 * bpp) : 128 / (8 * bpp); in cik_sdma_copy_texture()
351 granularity = in cik_sdma_copy_texture()
355 granularity = bpp <= 2 ? 64 / (8 * bpp) : bpp <= 8 ? 128 / (8 * bpp) : 256 / (8 * bpp); in cik_sdma_copy_texture()
372 if ((0 + copy_width) % granularity) in cik_sdma_copy_texture()
373 end_linear_address += granularity - (0 + copy_width) % granularity; in cik_sdma_copy_texture()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_state.c544 round_to_granularity(float value, float granularity) in round_to_granularity() argument
546 return roundf(value / granularity) * granularity; in round_to_granularity()
550 line_width(float width, float granularity, const float range[2]) in line_width() argument
552 assert(granularity >= 0); in line_width()
555 if (granularity > 0) in line_width()
556 width = round_to_granularity(width, granularity); in line_width()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_render_pass.c268 if (!pass->granularity.width) { in vn_GetRenderAreaGranularity()
270 &pass->granularity); in vn_GetRenderAreaGranularity()
273 *pGranularity = pass->granularity; in vn_GetRenderAreaGranularity()
Dvn_render_pass.h30 VkExtent2D granularity; member
/third_party/flutter/skia/src/gpu/vk/
DGrVkGpu.cpp2442 const VkExtent2D& granularity, int maxWidth, int maxHeight) { in adjust_bounds_to_granularity() argument
2444 if ((0 != granularity.width && 1 != granularity.width)) { in adjust_bounds_to_granularity()
2446 int rightAdj = srcBounds.fRight % granularity.width; in adjust_bounds_to_granularity()
2448 rightAdj = granularity.width - rightAdj; in adjust_bounds_to_granularity()
2455 dstBounds->fLeft = srcBounds.fLeft - srcBounds.fLeft % granularity.width; in adjust_bounds_to_granularity()
2463 if ((0 != granularity.height && 1 != granularity.height)) { in adjust_bounds_to_granularity()
2465 int bottomAdj = srcBounds.fBottom % granularity.height; in adjust_bounds_to_granularity()
2467 bottomAdj = granularity.height - bottomAdj; in adjust_bounds_to_granularity()
2474 dstBounds->fTop = srcBounds.fTop - srcBounds.fTop % granularity.height; in adjust_bounds_to_granularity()
2501 const VkExtent2D& granularity = renderPass->granularity(); in submitSecondaryCommandBuffer() local
[all …]
DGrVkRenderPass.h119 const VkExtent2D& granularity() const { return fGranularity; } in granularity() function
/third_party/e2fsprogs/misc/
Dbadblocks.c760 unsigned int granularity = blocks_at_once; in test_nd() local
845 got = try = granularity - buf_used; in test_nd()
864 if (granularity != 1) { in test_nd()
865 granularity = 1; in test_nd()
907 if ((buf_used != granularity) && in test_nd()
912 granularity = blocks_at_once; in test_nd()
/third_party/gstreamer/gstplugins_bad/sys/asio/
Dgstasioobject.h87 glong * granularity);
/third_party/iptables/extensions/
Dlibxt_statistic.man17 granularity is in 1/2147483648th increments.
/third_party/libphonenumber/resources/carrier/en/
D389.txt16 # Mapped ranges at 3-4 digit granularity level for easier maintenance. Added
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DMemory.inc49 // granularity may be larger than a single page (in practice, it is 64K)
127 // If the requested address is not aligned to the allocation granularity,
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_derivative_control.txt45 This extension provides control over the spacial granularity at which the
48 For example, for the coarse-granularity derivative, a single x derivative
50 value for all 4 pixels. For the fine-granularity derivative, two
/third_party/openGLES/extensions/ARB/
DARB_derivative_control.txt55 This extension provides control over the spacial granularity at which the
58 For example, for the coarse-granularity derivative, a single x derivative
60 value for all 4 pixels. For the fine-granularity derivative, two

12345678