Capability System: Simplify how we report incompatibilities of CapabilitySets to users #4683
Labels
goal:quality & productivity
Quality issues and issues that impact our productivity coding day to day inside slang
kind:enhancement
a desirable new feature, option, or behavior
Problem:
Currently incompatible entry-points print all data available to a user causing huge errors. For example, if I were to compile spirv on an entry-point without spirv support I would get the following error:
Solution:
Only the 'key' atoms which are causing incompatibility should be printed. This means that
printDiagnosicArg
should have a new function made which supports some sort of 'pair' which bundles together 2 incompatible capability sets.Furthermore, we should not be printing excess debug info
hlsl.meta.slang(14867): note: see definition of 'WaveMultiPrefixProduct'
The text was updated successfully, but these errors were encountered: