Files
Spencer Fricke 35527dd3b4 Fix OpLabel being in previous block (#7054)
SPIR-V is like LLVM in there are "Blocks" used for Control Flow,
`OpLabel` has a special text in the SPIR-V spec

> A block always starts with an
[OpLabel](https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#OpLabel)
instruction. This may be immediately preceded by an
[OpLine](https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#OpLine)
instruction, but the OpLabel is considered as the beginning of the
block.

But currently the coloring is off-by-1


![image](https://github.com/user-attachments/assets/4ec20d7d-0beb-49de-ba32-204f708a08c2)

This change now moves it up a line so it is the start of the block


![image](https://github.com/user-attachments/assets/3d6d1742-469f-4b29-a644-7677056bce9e)

This can be better seen why looking at the [SPIR-V
Visualizer](spirv-visualizer) tool output


![image](https://github.com/user-attachments/assets/10cbad0b-f093-4bd5-98dd-b38e78615218)
2024-11-03 19:37:45 +09:00
..
fix
2024-10-29 10:31:22 +01:00
2024-10-26 10:58:30 +03:00
2024-10-25 12:19:04 +03:00
2024-10-22 21:41:44 +03:00
2024-10-26 19:09:39 +02:00
2024-10-22 21:41:44 +03:00
2024-04-22 20:01:30 +02:00
2024-10-27 15:28:38 +02:00
2023-07-10 21:31:04 -05:00
2024-10-22 21:41:44 +03:00
2024-09-28 10:32:36 +03:00
2024-10-26 10:58:30 +03:00
2023-06-06 21:17:25 -05:00
2024-10-22 21:41:44 +03:00
2024-10-26 17:42:22 +02:00
2024-10-22 21:41:44 +03:00
2024-10-26 18:43:59 +03:00
2024-10-26 17:42:22 +02:00
2024-10-30 23:30:54 +09:00
2024-10-01 12:26:46 +03:00
2024-10-25 12:19:04 +03:00
2024-10-27 15:28:38 +02:00
2024-10-26 17:42:22 +02:00
2024-10-22 21:41:44 +03:00
2024-10-27 15:28:38 +02:00
2024-10-26 17:42:22 +02:00
2024-10-26 18:43:59 +03:00