Home
last modified time | relevance | path

Searched defs:shader_module (Results 1 – 1 of 1) sorted by relevance

/external/vulkan-validation-layers/layers/
Dcore_validation.cpp244 struct shader_module { struct
246 vector<uint32_t> words;
250 unordered_map<unsigned, unsigned> def_index;
252 shader_module(VkShaderModuleCreateInfo const *pCreateInfo) in shader_module() function
260 …t_iter begin() const { return spirv_inst_iter(words.begin(), words.begin() + 5); } /* first insn */ in begin()
261 …d() const { return spirv_inst_iter(words.begin(), words.end()); } /* just past last insn */ in end()
263 …t_iter at(unsigned offset) const { return spirv_inst_iter(words.begin(), words.begin() + offset); } in at()
266 spirv_inst_iter get_def(unsigned id) const { in get_def()