Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
llpc/dbginfo: streamline flags in DebugFunction
DebugFunction is always a function definition, never a function declaration -- those are represented using DebugFunctionDeclaration. It's also unclear whether shader entry points should be considered "main subprograms" or not. First of all, it's unclear what that flag means. Second, entry points aren't exactly like C/C++ main() -- a better analogy would be the "main" function of a thread created with pthread_create or similar. Finally, the current test is simply incorrect because NonSemantic.Shader.DebugInfo.100 doesn't actually reference the OpFunction from the DebugFunction instruction.
- Loading branch information