Skip to content

Conversation

@andyleiserson
Copy link
Contributor

@andyleiserson andyleiserson commented Jan 20, 2026

Some limited support for running external texture tests in deno (supported tests are ones that only exercise shader compilation or binding layouts without actually attempting to create an external texture).

Because Deno doesn't really support external textures, we can't turn this on across all of the CTS in CI, because it will introduce additional failures that are currently skipped. So this adds a new CTS suite for external texture, which gets run in the "Other" job on Mac and Windows.

Deno changes:

  • Allow the application to request the external-texture feature, even though it is not exposed as an available feature.
  • Support external texture in bindings. (This is only intended to support cts_runner testing, it's not expected to actually be useful.)

cts_runner and xtask changes:

  • Add --enable-external-texture argument to turn on the external-texture feature.
  • Add a new test list to be run with external texture enabled.

Squash or Rebase? Squash

Checklist

  • Run cargo fmt.
  • Run taplo format.
  • Run cargo clippy --tests. If applicable, add:
    • --target wasm32-unknown-unknown
  • Run cargo xtask test to run tests.
  • If this contains user-facing changes, add a CHANGELOG.md entry.

@andyleiserson andyleiserson marked this pull request as draft January 20, 2026 19:33
@andyleiserson

This comment was marked as outdated.

Deno changes:
* Allow the application to request the `external-texture` feature,
  even though it is not exposed as an available feature.
* Support external texture in bindings. (This is only intended
  to support cts_runner testing, it's not expected to actually
  be useful.)

cts_runner and xtask changes:
* Add `--enable-external-texture` argument to turn on the
  `external-texture` feature.
* Add a new test list to be run with external texture enabled.
@andyleiserson andyleiserson changed the title feat(deno): Implement external texture bindings test(cts): Enable some external texture tests Jan 30, 2026
@andyleiserson andyleiserson marked this pull request as ready for review January 30, 2026 18:19
@andyleiserson
Copy link
Contributor Author

Whichever of this or #8936 lands second, can set --print-output-when=test-fails when running the external texture suite in CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants