• Home
  • Raw
  • Download

Lines Matching refs:cbs

80 	    : cbs(move(cbs_))  in CLIParser()
97 if (*next != '-' && cbs.default_handler) in parse()
99 cbs.default_handler(next); in parse()
103 auto itr = cbs.callbacks.find(next); in parse()
104 if (itr == ::end(cbs.callbacks)) in parse()
118 if (cbs.error_handler) in parse()
120 cbs.error_handler(); in parse()
214 CLICallbacks cbs; member
1441 CLICallbacks cbs; in main_inner() local
1443 cbs.add("--help", [](CLIParser &parser) { in main_inner()
1447 cbs.add("--revision", [](CLIParser &parser) { in main_inner()
1451 cbs.add("--output", [&args](CLIParser &parser) { args.output = parser.next_string(); }); in main_inner()
1452 cbs.add("--es", [&args](CLIParser &) { in main_inner()
1456 cbs.add("--no-es", [&args](CLIParser &) { in main_inner()
1460 cbs.add("--version", [&args](CLIParser &parser) { in main_inner()
1464 cbs.add("--dump-resources", [&args](CLIParser &) { args.dump_resources = true; }); in main_inner()
1465 cbs.add("--force-temporary", [&args](CLIParser &) { args.force_temporary = true; }); in main_inner()
1466 cbs.add("--flatten-ubo", [&args](CLIParser &) { args.flatten_ubo = true; }); in main_inner()
1467 cbs.add("--fixup-clipspace", [&args](CLIParser &) { args.fixup = true; }); in main_inner()
1468 cbs.add("--flip-vert-y", [&args](CLIParser &) { args.yflip = true; }); in main_inner()
1469 cbs.add("--iterations", [&args](CLIParser &parser) { args.iterations = parser.next_uint(); }); in main_inner()
1470 cbs.add("--cpp", [&args](CLIParser &) { args.cpp = true; }); in main_inner()
1471cbs.add("--reflect", [&args](CLIParser &parser) { args.reflect = parser.next_value_string("json");… in main_inner()
1472cbs.add("--cpp-interface-name", [&args](CLIParser &parser) { args.cpp_interface_name = parser.next… in main_inner()
1473 cbs.add("--metal", [&args](CLIParser &) { args.msl = true; }); // Legacy compatibility in main_inner()
1474cbs.add("--glsl-emit-push-constant-as-ubo", [&args](CLIParser &) { args.glsl_emit_push_constant_as… in main_inner()
1475cbs.add("--glsl-emit-ubo-as-plain-uniforms", [&args](CLIParser &) { args.glsl_emit_ubo_as_plain_un… in main_inner()
1476cbs.add("--glsl-force-flattened-io-blocks", [&args](CLIParser &) { args.glsl_force_flattened_io_bl… in main_inner()
1477cbs.add("--glsl-ovr-multiview-view-count", [&args](CLIParser &parser) { args.glsl_ovr_multiview_vi… in main_inner()
1478 cbs.add("--glsl-remap-ext-framebuffer-fetch", [&args](CLIParser &parser) { in main_inner()
1483 cbs.add("--glsl-ext-framebuffer-fetch-noncoherent", [&args](CLIParser &) { in main_inner()
1486 cbs.add("--vulkan-glsl-disable-ext-samplerless-texture-functions", in main_inner()
1488 cbs.add("--disable-storage-image-qualifier-deduction", in main_inner()
1490 cbs.add("--force-zero-initialized-variables", in main_inner()
1492 cbs.add("--msl", [&args](CLIParser &) { args.msl = true; }); in main_inner()
1493 cbs.add("--hlsl", [&args](CLIParser &) { args.hlsl = true; }); in main_inner()
1494 cbs.add("--hlsl-enable-compat", [&args](CLIParser &) { args.hlsl_compat = true; }); in main_inner()
1495 cbs.add("--hlsl-support-nonzero-basevertex-baseinstance", in main_inner()
1497 cbs.add("--hlsl-auto-binding", [&args](CLIParser &parser) { in main_inner()
1500 cbs.add("--hlsl-force-storage-buffer-as-uav", in main_inner()
1502 cbs.add("--hlsl-nonwritable-uav-texture-as-srv", in main_inner()
1504cbs.add("--hlsl-enable-16bit-types", [&args](CLIParser &) { args.hlsl_enable_16bit_types = true; }… in main_inner()
1505 cbs.add("--hlsl-flatten-matrix-vertex-input-semantics", in main_inner()
1507 cbs.add("--vulkan-semantics", [&args](CLIParser &) { args.vulkan_semantics = true; }); in main_inner()
1508 cbs.add("-V", [&args](CLIParser &) { args.vulkan_semantics = true; }); in main_inner()
1509cbs.add("--flatten-multidimensional-arrays", [&args](CLIParser &) { args.flatten_multidimensional_… in main_inner()
1510 cbs.add("--no-420pack-extension", [&args](CLIParser &) { args.use_420pack_extension = false; }); in main_inner()
1511cbs.add("--msl-capture-output", [&args](CLIParser &) { args.msl_capture_output_to_buffer = true; }… in main_inner()
1512cbs.add("--msl-swizzle-texture-samples", [&args](CLIParser &) { args.msl_swizzle_texture_samples =… in main_inner()
1513 cbs.add("--msl-ios", [&args](CLIParser &) { args.msl_ios = true; }); in main_inner()
1514cbs.add("--msl-pad-fragment-output", [&args](CLIParser &) { args.msl_pad_fragment_output = true; }… in main_inner()
1515 cbs.add("--msl-domain-lower-left", [&args](CLIParser &) { args.msl_domain_lower_left = true; }); in main_inner()
1516 cbs.add("--msl-argument-buffers", [&args](CLIParser &) { args.msl_argument_buffers = true; }); in main_inner()
1517 cbs.add("--msl-discrete-descriptor-set", in main_inner()
1519 cbs.add("--msl-device-argument-buffer", in main_inner()
1521cbs.add("--msl-texture-buffer-native", [&args](CLIParser &) { args.msl_texture_buffer_native = tru… in main_inner()
1522 cbs.add("--msl-framebuffer-fetch", [&args](CLIParser &) { args.msl_framebuffer_fetch = true; }); in main_inner()
1523cbs.add("--msl-invariant-float-math", [&args](CLIParser &) { args.msl_invariant_float_math = true;… in main_inner()
1524 cbs.add("--msl-emulate-cube-array", [&args](CLIParser &) { args.msl_emulate_cube_array = true; }); in main_inner()
1525 cbs.add("--msl-multiview", [&args](CLIParser &) { args.msl_multiview = true; }); in main_inner()
1526 cbs.add("--msl-multiview-no-layered-rendering", in main_inner()
1528 cbs.add("--msl-view-index-from-device-index", in main_inner()
1530 cbs.add("--msl-dispatch-base", [&args](CLIParser &) { args.msl_dispatch_base = true; }); in main_inner()
1531 cbs.add("--msl-dynamic-buffer", [&args](CLIParser &parser) { in main_inner()
1538 cbs.add("--msl-decoration-binding", [&args](CLIParser &) { args.msl_decoration_binding = true; }); in main_inner()
1539 cbs.add("--msl-force-active-argument-buffer-resources", in main_inner()
1541 cbs.add("--msl-inline-uniform-block", [&args](CLIParser &parser) { in main_inner()
1548cbs.add("--msl-force-native-arrays", [&args](CLIParser &) { args.msl_force_native_arrays = true; }… in main_inner()
1549cbs.add("--msl-disable-frag-depth-builtin", [&args](CLIParser &) { args.msl_enable_frag_depth_buil… in main_inner()
1550 cbs.add("--msl-disable-frag-stencil-ref-builtin", in main_inner()
1552 cbs.add("--msl-enable-frag-output-mask", in main_inner()
1554 cbs.add("--msl-no-clip-distance-user-varying", in main_inner()
1556 cbs.add("--msl-shader-input", [&args](CLIParser &parser) { in main_inner()
1574cbs.add("--msl-multi-patch-workgroup", [&args](CLIParser &) { args.msl_multi_patch_workgroup = tru… in main_inner()
1575cbs.add("--msl-vertex-for-tessellation", [&args](CLIParser &) { args.msl_vertex_for_tessellation =… in main_inner()
1576 cbs.add("--msl-additional-fixed-sample-mask", in main_inner()
1578cbs.add("--msl-arrayed-subpass-input", [&args](CLIParser &) { args.msl_arrayed_subpass_input = tru… in main_inner()
1579 cbs.add("--msl-r32ui-linear-texture-align", in main_inner()
1581 cbs.add("--msl-r32ui-linear-texture-align-constant-id", in main_inner()
1583 cbs.add("--msl-texture-1d-as-2d", [&args](CLIParser &) { args.msl_texture_1d_as_2d = true; }); in main_inner()
1584cbs.add("--msl-ios-use-simdgroup-functions", [&args](CLIParser &) { args.msl_ios_use_simdgroup_fun… in main_inner()
1585 cbs.add("--msl-emulate-subgroups", [&args](CLIParser &) { args.msl_emulate_subgroups = true; }); in main_inner()
1586 cbs.add("--msl-fixed-subgroup-size", in main_inner()
1588cbs.add("--msl-force-sample-rate-shading", [&args](CLIParser &) { args.msl_force_sample_rate_shadi… in main_inner()
1589 cbs.add("--msl-combined-sampler-suffix", [&args](CLIParser &parser) { in main_inner()
1592cbs.add("--extension", [&args](CLIParser &parser) { args.extensions.push_back(parser.next_string()… in main_inner()
1593 cbs.add("--rename-entry-point", [&args](CLIParser &parser) { in main_inner()
1599 cbs.add("--entry", [&args](CLIParser &parser) { args.entry = parser.next_string(); }); in main_inner()
1600 cbs.add("--stage", [&args](CLIParser &parser) { args.entry_stage = parser.next_string(); }); in main_inner()
1601 cbs.add("--separate-shader-objects", [&args](CLIParser &) { args.sso = true; }); in main_inner()
1602 cbs.add("--set-hlsl-vertex-input-semantic", [&args](CLIParser &parser) { in main_inner()
1609 cbs.add("--remap", [&args](CLIParser &parser) { in main_inner()
1616 cbs.add("--remap-variable-type", [&args](CLIParser &parser) { in main_inner()
1622 cbs.add("--rename-interface-variable", [&args](CLIParser &parser) { in main_inner()
1635 cbs.add("--pls-in", [&args](CLIParser &parser) { in main_inner()
1640 cbs.add("--pls-out", [&args](CLIParser &parser) { in main_inner()
1645 cbs.add("--shader-model", [&args](CLIParser &parser) { in main_inner()
1649 cbs.add("--msl-version", [&args](CLIParser &parser) { in main_inner()
1654 cbs.add("--remove-unused-variables", [&args](CLIParser &) { args.remove_unused = true; }); in main_inner()
1655 cbs.add("--combined-samplers-inherit-bindings", in main_inner()
1658cbs.add("--no-support-nonzero-baseinstance", [&](CLIParser &) { args.support_nonzero_baseinstance … in main_inner()
1659 cbs.add("--emit-line-directives", [&args](CLIParser &) { args.emit_line_directives = true; }); in main_inner()
1661 cbs.add("--mask-stage-output-location", [&](CLIParser &parser) { in main_inner()
1667 cbs.add("--mask-stage-output-builtin", [&](CLIParser &parser) { in main_inner()
1686 cbs.default_handler = [&args](const char *value) { args.input = value; }; in main_inner()
1687 cbs.add("-", [&args](CLIParser &) { args.input = "-"; }); in main_inner()
1688 cbs.error_handler = [] { print_help(); }; in main_inner()
1690 CLIParser parser{ move(cbs), argc - 1, argv + 1 }; in main_inner()