On Mon Feb 27 22:48:32 2023 +0000, Zebediah Figura wrote:
We can factor the hlsl_error() into hlsl_validate_technique_token(). Also, I know this is close to the error that native gives, but it's completely misleading and doesn't reflect the actual condition. We should do better.
I don't think it's misleading, it could say "type is not defined", because such blocks are closer to variables than anything else.