Commit 5daf3ca
authored
Fix wrong _errorLine in operation/shader_module/compilation_info.spec.ts (#2088)
This patch fixes the wrong value of _errorLine of the shader named
'carriage-return' in kInvalidShaderSources. The correct error line
should be 5:
line 1: \n
line 2: @vertex fn main() -> @Builtin(position) vec4<f32> {\r\n
line 3: \n
line 4: // Expected Error: unknown function 'unknown'
line 5: return unknown(0.0, 0.0, 0.0, 1.0);1 parent 47d19f5 commit 5daf3ca
File tree
1 file changed
+1
-1
lines changed- src/webgpu/api/operation/shader_module
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments