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

spirv-opt: performance pass breaks task/mesh shader taskNV data #3673

Closed
pixeljetstream opened this issue Aug 10, 2020 · 1 comment
Closed

Comments

@pixeljetstream
Copy link

Getting errors as follows for data that is passed via taskNV from task to mesh shader in both mesh and task shader stage.

// example task shader output
taskNV out Task { uint base; uint8_t subIDs[32] } OUT;

// example mesh shader input
taskNV in Task { uint base; uint8_t subIDs[32] } IN;

by spec definition location assignment is not required for taskNV qualified data between task/mesh

shaderc: internal error: compilation succeeded but failed to optimize: Member index 0 is missing a location assignment
  0x0.07ff71dea58f0p-1022sk = OpTypeStruct 2811213480int _arr_uchar_uint_32
@alan-baker
Copy link
Contributor

Same issue as #3653. It is fixed by #3656

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

No branches or pull requests

2 participants