From cf7ffd86048079c1c282e253041570bd6d118711 Mon Sep 17 00:00:00 2001 From: Alan Baker Date: Mon, 16 Dec 2024 14:30:58 -0500 Subject: [PATCH] Relax DebugLine validation in NonSemantic.Shader.DebugInfo.100 Fixes #302 * Column End >= Column Start only if Line End == Line Start --- nonsemantic/NonSemantic.Shader.DebugInfo.100.asciidoc | 6 +++--- nonsemantic/NonSemantic.Shader.DebugInfo.100.html | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/nonsemantic/NonSemantic.Shader.DebugInfo.100.asciidoc b/nonsemantic/NonSemantic.Shader.DebugInfo.100.asciidoc index b366b45..fbefab5 100644 --- a/nonsemantic/NonSemantic.Shader.DebugInfo.100.asciidoc +++ b/nonsemantic/NonSemantic.Shader.DebugInfo.100.asciidoc @@ -1480,14 +1480,14 @@ instruction. + line number where the location begins. + + 'Line End' is the '' of a 32-bit integer *OpConstant* denoting the source - line number where the location ends. This may be the same as 'Line Start' if - the location doesn't cover multiple lines. + + line number where the location ends. This must be greater than or equal to 'Line End'. + + 'Column Start' is the '' of a 32-bit integer *OpConstant* denoting the source column number where the location begins. + + 'Column End' is the '' of a 32-bit integer *OpConstant* denoting the source - column number where the location ends. This must be greater than or equal to 'Column Start'. + + column number where the location ends. This must be greater than or equal to 'Column Start' + if 'Line Start' equals 'Line End'. + | 10 | 12 | '' + 'Result Type' | 'Result ' | ' Set'| 103 diff --git a/nonsemantic/NonSemantic.Shader.DebugInfo.100.html b/nonsemantic/NonSemantic.Shader.DebugInfo.100.html index d8f6357..9747541 100644 --- a/nonsemantic/NonSemantic.Shader.DebugInfo.100.html +++ b/nonsemantic/NonSemantic.Shader.DebugInfo.100.html @@ -4,7 +4,7 @@ - + SPIR-V NonSemantic Shader DebugInfo Instructions