~mmach/netext73/spirv-tools

« back to all changes in this revision

Viewing changes to source/opt/inst_buff_addr_check_pass.h

  • Committer: mmach
  • Date: 2020-02-12 10:21:08 UTC
  • Revision ID: netbit73@gmail.com-20200212102108-cpy1rbztamlizq2a
2020.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
// external design of this class may change as the layer evolves.
29
29
class InstBuffAddrCheckPass : public InstrumentPass {
30
30
 public:
31
 
  // For test harness only
32
 
  InstBuffAddrCheckPass()
33
 
      : InstrumentPass(7, 23, kInstValidationIdBuffAddr, 1) {}
34
 
  // For all other interfaces
 
31
  // Deprecated interface
35
32
  InstBuffAddrCheckPass(uint32_t desc_set, uint32_t shader_id, uint32_t version)
36
33
      : InstrumentPass(desc_set, shader_id, kInstValidationIdBuffAddr,
37
34
                       version) {}
 
35
  // Preferred interface
 
36
  InstBuffAddrCheckPass(uint32_t desc_set, uint32_t shader_id)
 
37
      : InstrumentPass(desc_set, shader_id, kInstValidationIdBuffAddr) {}
38
38
 
39
39
  ~InstBuffAddrCheckPass() override = default;
40
40