Searched refs:type_def (Results 1 – 4 of 4) sorted by relevance
457 Instruction* type_def = context()->get_def_use_mgr()->GetDef(type_id()); in IsReadOnlyPointerShaders() local458 if (type_def->opcode() != SpvOpTypePointer) { in IsReadOnlyPointerShaders()463 type_def->GetSingleWordInOperand(kPointerTypeStorageClassIndex); in IsReadOnlyPointerShaders()467 if (!type_def->IsVulkanStorageImage() && in IsReadOnlyPointerShaders()468 !type_def->IsVulkanStorageTexelBuffer()) { in IsReadOnlyPointerShaders()473 if (!type_def->IsVulkanStorageBuffer()) { in IsReadOnlyPointerShaders()496 Instruction* type_def = context()->get_def_use_mgr()->GetDef(type_id()); in IsReadOnlyPointerKernel() local497 if (type_def->opcode() != SpvOpTypePointer) { in IsReadOnlyPointerKernel()502 type_def->GetSingleWordInOperand(kPointerTypeStorageClassIndex); in IsReadOnlyPointerKernel()
459 Instruction* type_def = context()->get_def_use_mgr()->GetDef(type_id()); in IsReadOnlyPointerShaders() local460 if (type_def->opcode() != SpvOpTypePointer) { in IsReadOnlyPointerShaders()465 type_def->GetSingleWordInOperand(kPointerTypeStorageClassIndex); in IsReadOnlyPointerShaders()469 if (!type_def->IsVulkanStorageImage() && in IsReadOnlyPointerShaders()470 !type_def->IsVulkanStorageTexelBuffer()) { in IsReadOnlyPointerShaders()475 if (!type_def->IsVulkanStorageBuffer()) { in IsReadOnlyPointerShaders()498 Instruction* type_def = context()->get_def_use_mgr()->GetDef(type_id()); in IsReadOnlyPointerKernel() local499 if (type_def->opcode() != SpvOpTypePointer) { in IsReadOnlyPointerKernel()504 type_def->GetSingleWordInOperand(kPointerTypeStorageClassIndex); in IsReadOnlyPointerKernel()
323 | type_def340 type_def : TYPE identifier alias_def opt_attr_list ';'