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

Crash on recursive interface #3808

Closed
kevinboulain opened this issue Mar 21, 2024 · 0 comments · Fixed by #3811
Closed

Crash on recursive interface #3808

kevinboulain opened this issue Mar 21, 2024 · 0 comments · Fixed by #3811
Assignees
Labels
goal:quality & productivity Quality issues and issues that impact our productivity coding day to day inside slang

Comments

@kevinboulain
Copy link

Unlikely to happen in practice unless one doesn't pay too much attention...

interface I: I {} // ': I' is the problem.
struct S<T: I> {
 T t;
}

Compiled with v2024.1.5:

slangc shader.slang -target spirv -o shader.spv -force-glsl-scalar-layout -emit-spirv-directly -fvk-use-entrypoint-name
Segmentation fault (core dumped)
@swoods-nv swoods-nv added the goal:quality & productivity Quality issues and issues that impact our productivity coding day to day inside slang label Mar 21, 2024
@csyonghe csyonghe self-assigned this Mar 21, 2024
@csyonghe csyonghe added this to the Q1 2024 (Winter) milestone Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
goal:quality & productivity Quality issues and issues that impact our productivity coding day to day inside slang
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants