Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests/compute/*type-param* tests are broken #5627

Open
aleino-nv opened this issue Nov 21, 2024 · 1 comment
Open

tests/compute/*type-param* tests are broken #5627

aleino-nv opened this issue Nov 21, 2024 · 1 comment
Assignees
Labels
goal:forward looking Feature needed at a later date, not connected to a specific use case.

Comments

@aleino-nv
Copy link
Collaborator

Output with slangc:

c:\Users\aleino\environments\slang>C:\Users\aleino\workspaces\slang\build\Debug\bin\slangc.exe -o C:\Users\aleino\targets\hello-webgpu\test_compute.wgsl -target wgsl -stage compute -entry computeMain C:\Users\aleino\workspaces\slang\tests/compute/type-param-varying.slang   || exit 1 
C:\Users\aleino\workspaces\slang\tests/compute/type-param-varying.slang(53): error 30027: 'ColorSet' is not a member of 'typeof(TVertex)'.
    TVertex.ColorSet    color;
            ^~~~~~~~
C:\Users\aleino\workspaces\slang\tests/compute/type-param-varying.slang(80): error 30027: 'getPosition' is not a member of 'TVertex'.
    float3 position = input.assembledVertex.getPosition();
                                            ^~~~~~~~~~~
C:\Users\aleino\workspaces\slang\tests/compute/type-param-varying.slang(82): error 30027: 'getUv' is not a member of 'TVertex'.
    output.coarseVertex.uv = input.assembledVertex.getUv();
                                                   ^~~~~
C:\Users\aleino\workspaces\slang\tests/compute/type-param-varying.slang(83): error 30027: 'getColorSet' is not a member of 'TVertex'.
    output.coarseVertex.color = input.assembledVertex.getColorSet();
                                                      ^~~~~~~~~~~
(0): error 30015: undefined identifier 'computeMain'.
C:\Users\aleino\workspaces\slang\tests/compute/type-param-varying.slang(8): error 38000: no function found matching entry point name 'computeMain'
interface IColorSet
^~~~~~~~~
@aleino-nv aleino-nv changed the title tests/compute/type-param-varying.slang is broken tests/compute/*type-param* tests are broken Nov 21, 2024
@bmillsNV bmillsNV added this to the Q4 2024 (Fall) milestone Nov 21, 2024
@bmillsNV bmillsNV added the goal:forward looking Feature needed at a later date, not connected to a specific use case. label Nov 21, 2024
@aleino-nv
Copy link
Collaborator Author

aleino-nv commented Nov 22, 2024

@bmillsNV Yesterday @csyonghe indicated that we should perhaps just close this issue.
Yong, was it the case that "global type-params" are not expected to work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
goal:forward looking Feature needed at a later date, not connected to a specific use case.
Projects
None yet
Development

No branches or pull requests

2 participants