microsoft / hlsl-specs

HLSL Specifications
MIT License
118 stars 30 forks source link

[INF-0001] Should we build a general infrastructure for call graph-based diagnostics #199

Closed llvm-beanz closed 4 months ago

llvm-beanz commented 5 months ago

Which proposal does this relate to? INF-0001 Availability Diagnostics

Describe the issue or outstanding question. The diagnostics described in this proposal are one class of diagnostic we need to emit which depends on call graph analysis. There are other diagnostics that depend on call graph analysis. One example is the requirements for threadgroup size in order to use derivative operations.

Should the infrastructure built for these diagnostics be general purpose enough to handle these cases as well?

damyanp commented 4 months ago

This is falling out of other work we're doing and doesn't need to be tracked as its own issue.