Skip to content

Commit

Permalink
Merge branch 'main' into more-images
Browse files Browse the repository at this point in the history
  • Loading branch information
shaoboyan091 authored Jan 15, 2025
2 parents e0dce88 + 8c3c0ff commit ad4053d
Show file tree
Hide file tree
Showing 20 changed files with 1,586 additions and 311 deletions.
4 changes: 4 additions & 0 deletions src/common/runtime/cmdline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ Options:
--coverage Emit coverage data.
--verbose Print result/log of every test as it runs.
--list Print all testcase names that match the given query and exit.
--list-unimplemented Print all unimplemented tests
--debug Include debug messages in logging.
--print-json Print the complete result JSON in the output.
--expectations Path to expectations file.
--gpu-provider Path to node module that provides the GPU implementation.
--gpu-provider-flag Flag to set on the gpu-provider as <flag>=<value>
--unroll-const-eval-loops Unrolls loops in constant-evaluation shader execution tests
--enforce-default-limits Enforce the default limits (note: powerPreference tests may fail)
--force-fallback-adapter Force a fallback adapter
--log-to-websocket Log to a websocket
--quiet Suppress summary information in output
`);
return sys.exit(rc);
Expand Down
2 changes: 1 addition & 1 deletion src/common/runtime/helper/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export const kCTSOptionsInfo: OptionsInfos<CTSOptions> = {
],
},
debug: { description: 'show more info' },
compatibility: { description: 'run in compatibility mode' },
compatibility: { description: 'request adapters with featureLevel: "compatibility"' },
forceFallbackAdapter: { description: 'pass forceFallbackAdapter: true to requestAdapter' },
enforceDefaultLimits: {
description: `force the adapter limits to the default limits.
Expand Down
3 changes: 3 additions & 0 deletions src/common/runtime/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ Options:
--gpu-provider Path to node module that provides the GPU implementation.
--gpu-provider-flag Flag to set on the gpu-provider as <flag>=<value>
--unroll-const-eval-loops Unrolls loops in constant-evaluation shader execution tests
--enforce-default-limits Enforce the default limits (note: powerPreference tests may fail)
--force-fallback-adapter Force a fallback adapter
--log-to-websocket Log to a websocket
--u Flag to set on the gpu-provider as <flag>=<value>
Provides an HTTP server used for running tests via an HTTP RPC interface
Expand Down
10 changes: 7 additions & 3 deletions src/common/runtime/standalone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -633,17 +633,21 @@ void (async () => {
return select;
};

for (const [optionName, info] of Object.entries(optionsInfos)) {
Object.entries(optionsInfos).forEach(([optionName, info], i) => {
const id = `option${i}`;
const input =
typeof optionValues[optionName] === 'boolean'
? createCheckbox(optionName)
: createSelect(optionName, info);
input.attr('id', id);
$('<tr>')
.append($('<td>').append(input))
.append($('<td>').text(camelCaseToSnakeCase(optionName)))
.append(
$('<td>').append($('<label>').attr('for', id).text(camelCaseToSnakeCase(optionName)))
)
.append($('<td>').text(info.description))
.appendTo(optionsElem);
}
});
};
addOptionsToPage(options, kStandaloneOptionsInfos);

Expand Down
220 changes: 110 additions & 110 deletions src/resources/cache/hashes.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ad4053d

Please sign in to comment.