/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fFramebufferBlitTests.cpp | 485 throw tcu::NotSupportedError("Separate depth and stencil buffers not supported"); in preCheck() 553 // Clear depth to 1 and stencil to 0. in render() 557 // Fill source with gradient, depth = [-1..1], stencil = 7 in render() 567 // Fill destination with grid pattern, depth = 0 and stencil = 1 in render() 597 // Render blue color where depth < 0, decrement on depth failure. in render() 1080 bool depth = false; 1090 depth = true; 1097 // Do not try separate stencil along with a combined depth/stencil 1107 if (!stencil && !depth) [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/ |
H A D | vktMeshShaderSmokeTestsEXT.cpp | 624 const tcu::IVec3 imageDim (static_cast<int>(colorBufferExtent.width), static_cast<int>(colorBufferExtent.height), static_cast<int>(colorBufferExtent.depth)); in iterate() 906 const tcu::IVec3 imageDim (static_cast<int>(colorBufferExtent.width), static_cast<int>(colorBufferExtent.height), static_cast<int>(colorBufferExtent.depth)); in testFullscreenGradient() 1041 float depth; member 1148 << " float depth;\n" // Triangle depth (allows painting the background with a different color). in initPrograms() 1167 << " gl_MeshVerticesEXT[gl_LocalInvocationIndex].gl_Position = vec4(proportion, 1.0 - proportion, pc.depth, 1.0);\n" in initPrograms() 1188 << " gl_MeshVerticesEXT[localVertexIndices.x].gl_Position = vec4(vertex.coords[globalVertexIndices.x], pc.depth, 1.0);\n" in initPrograms() 1189 << " gl_MeshVerticesEXT[localVertexIndices.y].gl_Position = vec4(vertex.coords[globalVertexIndices.y], pc.depth, 1.0);\n" in initPrograms() 1190 << " gl_MeshVerticesEXT[localVertexIndices.z].gl_Position = vec4(vertex.coords[globalVertexIndices.z], pc.depth, 1.0);\n" in initPrograms() 1219 const tcu::IVec3 iExtent (static_cast<int>(fbExtent.width), static_cast<int>(fbExtent.height), static_cast<int>(fbExtent.depth)); in iterate() [all...] |
H A D | vktMeshShaderPropertyTestsEXT.cpp | 726 DE_ASSERT(fbExtent.depth == 1u); in iterate() 942 DE_ASSERT(fbExtent.depth == 1u); in iterate() 1436 const tcu::IVec3 iExtent3D (static_cast<int>(fbExtent.width), static_cast<int>(fbExtent.height), static_cast<int>(fbExtent.depth)); in iterate() 1466 DE_ASSERT(fbExtent.depth == 1u); in iterate() 1468 const auto verificationBufferSize = static_cast<VkDeviceSize>(pixelSize * fbExtent.width * fbExtent.height * fbExtent.depth); in iterate() 2260 DE_ASSERT(fbExtent.depth == 1u); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineColorWriteEnableTests.cpp | 121 float depth; member 134 , depth (depth_) in MeshParams() 286 // Check color image format support (depth/stencil will be chosen at runtime). in checkSupport() 400 // Choose depth/stencil format. in iterate() 415 TCU_THROW(NotSupportedError, "Required depth/stencil image features not supported"); in iterate() 416 log << tcu::TestLog::Message << "Chosen depth/stencil format: " << dsFormat << tcu::TestLog::EndMessage; in iterate() 423 // Create color and depth/stencil images. in iterate() 905 m_testConfig.meshParams.depth, // float meshDepth; in iterate() 998 logErrors(log, "Depth", "Result depth image and error mask", depthAccess, depthErrorAccess); in iterate() 1076 config.meshParams.depth in AddSingleTestCaseStatic() [all...] |
H A D | vktPipelineVertexInputTests.cpp | 1798 void createMultipleAttributeCases (PipelineConstructionType pipelineConstructionType, deUint32 depth, deUint32 firstNdx, CompatibleFormats* compatibleFormats, de::Random& randomFunc, tcu::TestCaseGroup& testGroup, VertexInputTest::BindingMapping bindingMapping, VertexInputTest::AttributeLayout attributeLayout, VertexInputTest::LayoutSkip layoutSkip, VertexInputTest::LayoutOrder layoutOrder, const std::vector<VertexInputTest::AttributeInfo>& attributeInfos = std::vector<VertexInputTest::AttributeInfo>(0)) in createMultipleAttributeCases() argument 1803 for (deUint32 currentNdx = firstNdx; currentNdx < VertexInputTest::GLSL_TYPE_DOUBLE - depth; currentNdx++) in createMultipleAttributeCases() 1810 attributeInfo.inputRate = (depth % 2 == 0) ? VK_VERTEX_INPUT_RATE_VERTEX : VK_VERTEX_INPUT_RATE_INSTANCE; in createMultipleAttributeCases() 1817 if (depth == 0) in createMultipleAttributeCases() 1837 createMultipleAttributeCases(pipelineConstructionType, depth - 1u, currentNdx + 1u, compatibleFormats, randomFunc, *newTestGroup, bindingMapping, attributeLayout, layoutSkip, layoutOrder, newAttributeInfos); in createMultipleAttributeCases()
|
H A D | vktPipelineMultisampleMixedAttachmentSamplesTests.cpp | 93 float depth; member 99 CompareData() : color(Vec4(0.0f)), depth(0.0f), stencil(0u) in CompareData() 243 VK_STENCIL_OP_INCREMENT_AND_CLAMP, // depth & stencil pass in preparePipelineWrapper() 244 VK_STENCIL_OP_KEEP, // depth only fail in preparePipelineWrapper() 250 // Always pass the depth test in preparePipelineWrapper() 327 //! Generate expected data for color, depth, and stencil samples of a given image. 355 cd.depth = wrapIncFloat(0.05f * static_cast<float>(1 + globalSample), 0.05f, 1.0f); in generateCompareData() 530 vertices.push_back(PositionColor(Vec4(loc.x(), loc.y() - y1, cd.depth, 1.0f), cd.color)); in generateSubpixelTriangles() 531 vertices.push_back(PositionColor(Vec4(loc.x() - x1, loc.y() + y2, cd.depth, 1.0f), cd.color)); in generateSubpixelTriangles() 532 vertices.push_back(PositionColor(Vec4(loc.x() + x1, loc.y() + y2, cd.depth, 1. in generateSubpixelTriangles() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_threaded_context.c | 2730 assert(box->depth >= 1); in tc_texture_subdata() 2732 size = (box->depth - 1) * layer_stride + in tc_texture_subdata() 3926 float depth; member 3936 pipe->clear(pipe, p->buffers, p->scissor_state_set ? &p->scissor_state : NULL, &p->color, p->depth, p->stencil); in tc_call_clear() 3942 const union pipe_color_union *color, double depth, in tc_clear() 3953 p->depth = depth; in tc_clear() 4003 float depth; member 4019 pipe->clear_depth_stencil(pipe, p->dst, p->clear_flags, p->depth, p->stencil, in tc_call_clear_depth_stencil() 4029 double depth, unsigne in tc_clear_depth_stencil() 3941 tc_clear(struct pipe_context *_pipe, unsigned buffers, const struct pipe_scissor_state *scissor_state, const union pipe_color_union *color, double depth, unsigned stencil) tc_clear() argument 4027 tc_clear_depth_stencil(struct pipe_context *_pipe, struct pipe_surface *dst, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) tc_clear_depth_stencil() argument [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcPackedPixelsTests.cpp | 62 FORMAT_DEPTH, // depth, unsigned [fp|float] 63 FORMAT_DEPTH_STENCIL, // depth+stencil, unsigned [fp|float] 84 int depth; // depth bits member 1227 // "depth" will be 1 + skipped image layers. in makeGradient() 1229 int depth = 1 + m_unpackProperties.skipImages; in makeGradient() local 1237 m_unpackProperties.imagesCount = depth; in makeGradient() 1240 std::size_t bufferSize = elementSize * elementsInRow * rowCount * depth; in makeGradient() 1250 for (int k = m_unpackProperties.skipImages; k < depth; k++) in makeGradient() 1258 if ((k == depth in makeGradient() [all...] |
/third_party/backends/backend/genesys/ |
H A D | genesys.cpp | 772 session.params.depth = 8; in scanner_move() 938 session.params.depth = 8; in scanner_move_back_home() 1081 session.params.depth = 8; in scanner_move_back_home_ta() 1193 session.params.depth = 8; in scanner_search_strip() 1490 session.params.depth = 8; in scanner_offset_calibration() 1670 write_tiff_file("gl_offset_all.tiff", debug_image.data(), session.params.depth, channels, in scanner_offset_calibration() 1802 session.params.depth = dev.model->asic_type == AsicType::GL841 ? 16 : 8; in scanner_coarse_gain_calibration() 1997 session.params.depth = 16; in scanner_led_calibration() 3876 if (dev->session.params.depth == 16) { in genesys_warmup_lamp() 3890 write_tiff_file("gl_warmup1.tiff", first_line.data(), dev->session.params.depth, in genesys_warmup_lamp() [all...] |
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_context.c | 928 * When the state tracker asks for 000x swizzles, this is depth mode GL_ALPHA, in zink_create_sampler_view() 1574 unsigned depth = 1 + tmpl.u.tex.last_layer - tmpl.u.tex.first_layer; in create_image_surface() local 1577 if (depth < u_minify(res->base.b.depth0, view->u.tex.level)) { in create_image_surface() 1578 assert(depth == 1); in create_image_surface() 1592 if (depth < res->base.b.array_size && depth == 1) in create_image_surface() 2242 /* unset depth and stencil info: reset below */ in begin_rendering() 2255 /* depth may or may not be used but init it anyway */ in begin_rendering() 2305 ctx->dynamic_fb.attachments[PIPE_MAX_COLOR_BUFS].clearValue.depthStencil.depth = clear->zs.depth; in begin_rendering() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | qsvenc.c | 565 q->param.mfx.FrameInfo.BitDepthLuma = desc->comp[0].depth; in init_video_param_jpeg() 566 q->param.mfx.FrameInfo.BitDepthChroma = desc->comp[0].depth; in init_video_param_jpeg() 567 q->param.mfx.FrameInfo.Shift = desc->comp[0].depth > 8; in init_video_param_jpeg() 664 q->param.mfx.FrameInfo.BitDepthLuma = desc->comp[0].depth; in init_video_param() 665 q->param.mfx.FrameInfo.BitDepthChroma = desc->comp[0].depth; in init_video_param() 666 q->param.mfx.FrameInfo.Shift = desc->comp[0].depth > 8; in init_video_param()
|
/third_party/backends/backend/ |
H A D | coolscan3.c | 217 int samples_per_scan, depth, real_depth, bytes_per_pixel, shift_bits, member 497 o.name = "depth"; in sane_open() 498 o.title = "Bit depth per channel"; in sane_open() 1017 s->depth = 8; in sane_open() 1102 *(SANE_Word *) v = s->depth; in sane_control_option() 1266 s->depth = *(SANE_Word *) v; in sane_control_option() 1451 p->depth = 8 * s->bytes_per_pixel; in sane_get_parameters() 2520 DBG(4, " maximum depth: %d\n", s->maxbits); in cs3_full_inquiry() 2788 s->real_depth = (s->preview ? 8 : s->depth); in cs3_convert_options() 2792 DBG(12, " depth in cs3_convert_options() [all...] |
H A D | coolscan2.c | 252 int samples_per_scan, depth, real_depth, bytes_per_pixel, shift_bits, member 538 o.name = "depth"; in sane_open() 539 o.title = "Bit depth per channel"; in sane_open() 1021 s->depth = 8; in sane_open() 1114 *(SANE_Word *) v = s->depth; in sane_control_option() 1268 s->depth = *(SANE_Word *) v; in sane_control_option() 1458 p->depth = 8 * s->bytes_per_pixel; in sane_get_parameters() 2636 s->real_depth = (s->preview ? 8 : s->depth); in cs2_convert_options()
|
H A D | hp-option.c | 48 Bug #300241: fix inverse image on 3c/4c/6100C at 10 bit depth 1544 unsigned length, depth; in _probe_vector() member 1545 HpAccessor (*creator)(HpData data, unsigned length, unsigned depth); in _probe_vector() 1594 this->data_acsr = (*type->creator)(data, type->length, type->depth); in _probe_vector() 4038 p->depth = 1; in sanei_hp_optset_guessParameters() 4043 p->depth = 8; in sanei_hp_optset_guessParameters() 4050 p->depth *= 2; in sanei_hp_optset_guessParameters() 4057 p->depth = 8; in sanei_hp_optset_guessParameters() 4064 p->depth *= 2; in sanei_hp_optset_guessParameters()
|
/third_party/node/lib/internal/http2/ |
H A D | core.js | 1399 [kInspect](depth, opts) { 1400 if (typeof depth === 'number' && depth < 0) 2021 [kInspect](depth, opts) { 2022 if (typeof depth === 'number' && depth < 0)
|
/third_party/node/tools/inspector_protocol/encoding/ |
H A D | encoding_test.cc | 977 std::vector<uint8_t> MakeNestedCBOR(int depth) { in MakeNestedCBOR() argument 980 for (int ii = 0; ii < depth; ++ii) { in MakeNestedCBOR() 987 for (int ii = 0; ii < depth; ++ii) { in MakeNestedCBOR() 1686 std::string MakeNestedJson(int depth) { in MakeNestedJson() argument 1688 for (int ii = 0; ii < depth; ++ii) in MakeNestedJson() 1691 for (int ii = 0; ii < depth; ++ii) in MakeNestedJson()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageHostImageCopyTests.cpp | 694 deInt32Hash((deUint32)mipImageSize.depth)); in iterate() 743 mipImageSize.depth, in iterate() 1006 m_parameters.imageSize.depth, in iterate() 1272 const auto bufferCount = m_size.width * m_size.height * m_size.depth * m_arrayLayers * numChannels; in iterate() 1285 const vk::VkImageType imageType = m_size.depth > 1 ? vk::VK_IMAGE_TYPE_3D : vk::VK_IMAGE_TYPE_2D; in iterate() 1606 vk::VkImageType const imageType = m_size.depth > 1 ? vk::VK_IMAGE_TYPE_3D : vk::VK_IMAGE_TYPE_2D; in checkSupport()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
H A D | vktMeshShaderPropertyTestsEXT.cpp | 726 DE_ASSERT(fbExtent.depth == 1u); in iterate() 942 DE_ASSERT(fbExtent.depth == 1u); in iterate() 1436 const tcu::IVec3 iExtent3D (static_cast<int>(fbExtent.width), static_cast<int>(fbExtent.height), static_cast<int>(fbExtent.depth)); in iterate() 1466 DE_ASSERT(fbExtent.depth == 1u); in iterate() 1468 const auto verificationBufferSize = static_cast<VkDeviceSize>(pixelSize * fbExtent.width * fbExtent.height * fbExtent.depth); in iterate() 2260 DE_ASSERT(fbExtent.depth == 1u); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineMultisampleMixedAttachmentSamplesTests.cpp | 95 float depth; member 101 CompareData() : color(Vec4(0.0f)), depth(0.0f), stencil(0u) in CompareData() 245 VK_STENCIL_OP_INCREMENT_AND_CLAMP, // depth & stencil pass in preparePipelineWrapper() 246 VK_STENCIL_OP_KEEP, // depth only fail in preparePipelineWrapper() 252 // Always pass the depth test in preparePipelineWrapper() 329 //! Generate expected data for color, depth, and stencil samples of a given image. 357 cd.depth = wrapIncFloat(0.05f * static_cast<float>(1 + globalSample), 0.05f, 1.0f); in generateCompareData() 532 vertices.push_back(PositionColor(Vec4(loc.x(), loc.y() - y1, cd.depth, 1.0f), cd.color)); in generateSubpixelTriangles() 533 vertices.push_back(PositionColor(Vec4(loc.x() - x1, loc.y() + y2, cd.depth, 1.0f), cd.color)); in generateSubpixelTriangles() 534 vertices.push_back(PositionColor(Vec4(loc.x() + x1, loc.y() + y2, cd.depth, 1. in generateSubpixelTriangles() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRender.cpp | 1192 result.depth = std::max(baseExtents.depth >> mipLevel, 1u); 1203 result.z() = extent.depth / divisor.depth + ((extent.depth % divisor.depth != 0) ? 1u : 0u);
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | ClearTest.cpp | 67 // Use a small shader to verify depth. in verifyDepth() 244 // Setup Color/Stencil FBO with a stencil format that's emulated with packed depth/stencil. 260 // Setup Color/Depth FBO with a depth format that's emulated with packed depth/stencil. 287 // Override a feature to force emulation of stencil-only and depth-only formats with a packed 288 // depth/stencil format 1254 // clear float color attachment & depth together in TEST_P() 1675 // Clear to a random color, 0.9 depth and 0x00 stencil in maskedScissoredColorDepthStencilClear() 1686 // still used to verify that the depth/stencil clear happened correctly. This allows in maskedScissoredColorDepthStencilClear() 1687 // testing for depth/stenci in maskedScissoredColorDepthStencilClear() 1895 GLRenderbuffer depth; TEST_P() local 2447 GLRenderbuffer depth; TEST_P() local [all...] |
/third_party/python/Lib/test/ |
H A D | test_dis.py | 735 got = self.get_disassembly(func, depth=0) 934 check(dis_nested_0, depth=0) 935 check(dis_nested_1, depth=1) 936 check(dis_nested_2, depth=2) 937 check(dis_nested_2, depth=3) 938 check(dis_nested_2, depth=None)
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | cord.cc | 74 // Minimum length required for a given depth tree -- a tree is considered 76 // length(t) >= min_length[depth(t)] 77 // The root node depth is allowed to become twice as large to reduce rebalancing 105 } else if (node->concat()->depth() <= 15) { in IsRootBalanced() 107 } else if (node->concat()->depth() > kMinLengthSize) { in IsRootBalanced() 110 // Allow depth to become twice as large as implied by fibonacci rule to in IsRootBalanced() 112 return (node->length >= min_length[node->concat()->depth() / 2]); in IsRootBalanced() 138 // Return the depth of a node 141 return rep->concat()->depth(); in Depth() 1099 if (concat_node->depth() > in Build() [all...] |
/third_party/spirv-tools/source/val/ |
H A D | validate_image.cpp | 84 uint32_t depth = 0; member 114 info->depth = inst->word(4); in GetImageTypeInfo() 822 if (info.depth > 2) { in ValidateTypeImage() 824 << "Invalid Depth " << info.depth << " (must be 0, 1 or 2)"; in ValidateTypeImage() 866 if (info.depth != 0) { in ValidateTypeImage() 1626 // In OpenCL, a read from a depth image returns a scalar float. In other in ValidateImageRead() 1630 // The builtins for reading depth images are: in ValidateImageRead() 1633 if (info.depth) { in ValidateImageRead() 1637 << " from a depth image read to result in a scalar float value"; in ValidateImageRead()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A D | vktShaderRender.cpp | 1194 result.depth = std::max(baseExtents.depth >> mipLevel, 1u); 1205 result.z() = extent.depth / divisor.depth + ((extent.depth % divisor.depth != 0) ? 1u : 0u);
|