(fenceID uint64)
| 594 | } |
| 595 | |
| 596 | func (d *decoder) fence(fenceID uint64) (out *semantic.Fence) { |
| 597 | d.build(d.content.Instances.Fence, &d.inst.Fence, fenceID, &out, |
| 598 | func(p *Fence, s *semantic.Fence) { |
| 599 | s.AST = d.astFence(p.Ast) |
| 600 | s.Statement = d.stat(p.Statement) |
| 601 | s.Explicit = p.Explicit |
| 602 | }) |
| 603 | return |
| 604 | } |
| 605 | |
| 606 | func (d *decoder) float32Value(float32ValueID uint64) semantic.Float32Value { |
| 607 | return semantic.Float32Value(d.content.Instances.Float32Value[float32ValueID-1].Value) |