Skip to content

Conversation

aleksanderkatan
Copy link
Contributor

No description provided.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes console.log functionality for the drawIndexed method in render pipelines, ensuring that logging works correctly when drawing indexed geometry.

  • Adds logging support to drawIndexed method by integrating log resource handling
  • Adds a new "Draw indexed" test case to verify console.log functionality with indexed drawing
  • Refactors shader definitions and removes unused test case to improve test organization

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
packages/typegpu/src/core/pipeline/renderPipeline.ts Integrates log resources handling into the drawIndexed method
apps/typegpu-docs/src/examples/tests/log-test/index.ts Adds "Draw indexed" test case and refactors shader definitions
packages/typegpu/tests/examples/individual/log-test.test.ts Updates expected test count and adds corresponding shader code for the new test

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@aleksanderkatan aleksanderkatan marked this pull request as ready for review October 1, 2025 14:34
Copy link

github-actions bot commented Oct 1, 2025

pkg.pr.new

packages
Ready to be installed by your favorite package manager ⬇️

https://pkg.pr.new/software-mansion/TypeGPU/typegpu@ccf10f36a91eacc90f744b24365ef0b70a7a4e80
https://pkg.pr.new/software-mansion/TypeGPU/@typegpu/noise@ccf10f36a91eacc90f744b24365ef0b70a7a4e80
https://pkg.pr.new/software-mansion/TypeGPU/unplugin-typegpu@ccf10f36a91eacc90f744b24365ef0b70a7a4e80

benchmark
view benchmark

commit
view commit

@aleksanderkatan aleksanderkatan linked an issue Oct 1, 2025 that may be closed by this pull request
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.

fix: console.log in drawIndexed
1 participant