Skip to content

Comments

Test for link time constants with precompiled SPIR-V#6532

Closed
cheneym2 wants to merge 1 commit intoshader-slang:masterfrom
cheneym2:cheneym2/linktimeconstanttestspirv
Closed

Test for link time constants with precompiled SPIR-V#6532
cheneym2 wants to merge 1 commit intoshader-slang:masterfrom
cheneym2:cheneym2/linktimeconstanttestspirv

Conversation

@cheneym2
Copy link
Contributor

@cheneym2 cheneym2 commented Mar 6, 2025

This test exercises link time constants used by modules that are precompiled to SPIR-V.

Work on #6524

@cheneym2 cheneym2 force-pushed the cheneym2/linktimeconstanttestspirv branch 3 times, most recently from c88adf5 to 5f1fd33 Compare March 6, 2025 19:49
@cheneym2 cheneym2 force-pushed the cheneym2/linktimeconstanttestspirv branch from 5f1fd33 to 580fd53 Compare March 6, 2025 21:51
@cheneym2 cheneym2 added the pr: non-breaking PRs without breaking changes label Mar 7, 2025
@cheneym2 cheneym2 marked this pull request as ready for review March 7, 2025 03:34
@cheneym2 cheneym2 requested a review from a team as a code owner March 7, 2025 03:34
@cheneym2 cheneym2 marked this pull request as draft March 13, 2025 21:15
@cheneym2 cheneym2 force-pushed the cheneym2/linktimeconstanttestspirv branch 3 times, most recently from 88bfacd to 4b456ff Compare March 14, 2025 19:41
When modules contain extern references to globals they don't define, or when the contain exports of globals they may or may not use, utilize SPIR-V linkage attributes to define and use the variables in embedded SPIR-V IR.

Fixes shader-slang#6524
@cheneym2 cheneym2 force-pushed the cheneym2/linktimeconstanttestspirv branch from 4b456ff to 933df87 Compare March 14, 2025 20:00
@bmillsNV bmillsNV closed this Jun 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: non-breaking PRs without breaking changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants