Skip to content

Commit

Permalink
Relax DebugLine validation in NonSemantic.Shader.DebugInfo.100
Browse files Browse the repository at this point in the history
Fixes #302

* Column End >= Column Start only if Line End == Line Start
  • Loading branch information
alan-baker committed Dec 16, 2024
1 parent 648bf0e commit cf7ffd8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions nonsemantic/NonSemantic.Shader.DebugInfo.100.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1480,14 +1480,14 @@ instruction. +
line number where the location begins. +
+
'Line End' is the '<id>' 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 '<id>' of a 32-bit integer *OpConstant* denoting the source
column number where the location begins. +
+
'Column End' is the '<id>' 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 | '<id>' +
'Result Type' | 'Result <id>' | '<id> Set'| 103
Expand Down
8 changes: 4 additions & 4 deletions nonsemantic/NonSemantic.Shader.DebugInfo.100.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Asciidoctor 2.0.23">
<meta name="generator" content="Asciidoctor 2.0.18">
<title>SPIR-V NonSemantic Shader DebugInfo Instructions</title>
<style>
@import "https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700";
Expand Down Expand Up @@ -2672,14 +2672,14 @@ <h3 id="_location_information">Location Information</h3>
line number where the location begins.<br>
<br>
<em>Line End</em> is the <em>&lt;id&gt;</em> of a 32-bit integer <strong>OpConstant</strong> denoting the source
line number where the location ends. This may be the same as <em>Line Start</em> if
the location doesn&#8217;t cover multiple lines.<br>
line number where the location ends. This must be greater than or equal to <em>Line End</em>.<br>
<br>
<em>Column Start</em> is the <em>&lt;id&gt;</em> of a 32-bit integer <strong>OpConstant</strong> denoting the source
column number where the location begins.<br>
<br>
<em>Column End</em> is the <em>&lt;id&gt;</em> of a 32-bit integer <strong>OpConstant</strong> denoting the source
column number where the location ends. This must be greater than or equal to <em>Column Start</em>.<br></p></td>
column number where the location ends. This must be greater than or equal to <em>Column Start</em>
if <em>Line Start</em> equals <em>Line End</em>.<br></p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">10</p></td>
Expand Down

0 comments on commit cf7ffd8

Please sign in to comment.