You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
^~~~~~~~~
The text was updated successfully, but these errors were encountered:
aleino-nv
changed the title
tests/compute/type-param-varying.slang is broken
tests/compute/*type-param* tests are broken
Nov 21, 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?
Output with slangc:
The text was updated successfully, but these errors were encountered: