vscode: Add missing fields to schema.Opcode (#3169)
These were declared in the `Opcode` struct type, but were never assigned. They're not actually used by the language server, but I reused this go schema package for a local experiment and found they were missing.
This commit is contained in:
Родитель
4d912f4e60
Коммит
79f8caf915
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -115,6 +115,8 @@ var (
|
|||
|
||||
{{range $i := .SPIRV.Instructions}} {{Title $i.Opname}} = &Opcode {
|
||||
Opname: "{{$i.Opname}}",
|
||||
Class: "{{$i.Class}}",
|
||||
Opcode: {{$i.Opcode}},
|
||||
Operands: []Operand {•{{range $i := $i.Operands}}
|
||||
Operand {
|
||||
Kind: OperandKind{{$i.Kind}},
|
||||
|
|
Загрузка…
Ссылка в новой задаче