Home
last modified time | relevance | path

Searched refs:stage_idx (Results 1 – 25 of 26) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinstrument_pass.h198 void GenDebugStreamWrite(uint32_t instruction_idx, uint32_t stage_idx,
290 uint32_t GetStreamWriteFunctionId(uint32_t stage_idx,
307 bool InstrumentFunction(Function* func, uint32_t stage_idx,
314 uint32_t stage_idx);
326 uint32_t stage_idx, uint32_t base_off,
348 void GenStageStreamWriteCode(uint32_t stage_idx, uint32_t base_off,
Dinst_bindless_check_pass.cpp523 uint32_t length_id, uint32_t stage_idx, RefAnalysis* ref, in GenCheckCode() argument
554 GenDebugStreamWrite(uid2offset_[ref->ref_inst->unique_id()], stage_idx, in GenCheckCode()
562 uid2offset_[ref->ref_inst->unique_id()], stage_idx, in GenCheckCode()
568 GenDebugStreamWrite(uid2offset_[ref->ref_inst->unique_id()], stage_idx, in GenCheckCode()
596 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx, in GenDescIdxCheckCode() argument
646 GenCheckCode(ult_inst->result_id(), error_id, 0u, length_id, stage_idx, &ref, in GenDescIdxCheckCode()
656 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx, in GenDescInitCheckCode() argument
704 init_check ? builder.GetUintConstantId(0u) : init_id, stage_idx, in GenDescInitCheckCode()
714 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx, in GenTexBuffCheckCode() argument
772 GenCheckCode(ult_inst->result_id(), error_id, coord_id, size_id, stage_idx, in GenTexBuffCheckCode()
[all …]
Dinst_bindless_check_pass.h100 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx,
105 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx,
110 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx,
177 uint32_t length_id, uint32_t stage_idx, RefAnalysis* ref,
Dinst_debug_printf_pass.cpp139 Instruction* printf_inst, uint32_t stage_idx, in GenOutputCode() argument
167 GenDebugStreamWrite(uid2offset_[printf_inst->unique_id()], stage_idx, val_ids, in GenOutputCode()
174 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx, in GenDebugPrintfCode() argument
190 GenOutputCode(printf_inst, stage_idx, new_blocks); in GenDebugPrintfCode()
219 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx, in ProcessImpl()
221 return GenDebugPrintfCode(ref_inst_itr, ref_block_itr, stage_idx, in ProcessImpl()
Dinst_debug_printf_pass.h67 uint32_t stage_idx,
80 void GenOutputCode(Instruction* printf_inst, uint32_t stage_idx,
Dinstrument_pass.cpp144 uint32_t stage_idx, in GenCommonStreamWriteCode() argument
158 builder->GetUintConstantId(stage_idx), builder); in GenCommonStreamWriteCode()
187 void InstrumentPass::GenStageStreamWriteCode(uint32_t stage_idx, in GenStageStreamWriteCode() argument
191 switch (stage_idx) { in GenStageStreamWriteCode()
296 uint32_t instruction_idx, uint32_t stage_idx, in GenDebugStreamWrite() argument
301 uint32_t output_func_id = GetStreamWriteFunctionId(stage_idx, val_id_cnt); in GenDebugStreamWrite()
680 uint32_t InstrumentPass::GetStreamWriteFunctionId(uint32_t stage_idx, in GetStreamWriteFunctionId() argument
766 stage_idx, obuf_curr_sz_id, &builder); in GetStreamWriteFunctionId()
767 GenStageStreamWriteCode(stage_idx, obuf_curr_sz_id, &builder); in GetStreamWriteFunctionId()
893 bool InstrumentPass::InstrumentFunction(Function* func, uint32_t stage_idx, in InstrumentFunction() argument
[all …]
Dinst_buff_addr_check_pass.h100 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx,
119 uint32_t stage_idx, Instruction* ref_inst,
Dinst_buff_addr_check_pass.cpp61 uint32_t stage_idx, Instruction* ref_inst, in GenCheckCode() argument
96 uid2offset_[ref_inst->unique_id()], stage_idx, in GenCheckCode()
435 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx, in GenBuffAddrCheckCode() argument
456 GenCheckCode(valid_id, error_id, ref_uptr_id, stage_idx, ref_inst, in GenBuffAddrCheckCode()
475 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx, in ProcessImpl()
477 return GenBuffAddrCheckCode(ref_inst_itr, ref_block_itr, stage_idx, in ProcessImpl()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dinstrument_pass.h198 void GenDebugStreamWrite(uint32_t instruction_idx, uint32_t stage_idx,
290 uint32_t GetStreamWriteFunctionId(uint32_t stage_idx,
307 bool InstrumentFunction(Function* func, uint32_t stage_idx,
314 uint32_t stage_idx);
326 uint32_t stage_idx, uint32_t base_off,
348 void GenStageStreamWriteCode(uint32_t stage_idx, uint32_t base_off,
Dinst_bindless_check_pass.cpp523 uint32_t length_id, uint32_t stage_idx, RefAnalysis* ref, in GenCheckCode() argument
554 GenDebugStreamWrite(uid2offset_[ref->ref_inst->unique_id()], stage_idx, in GenCheckCode()
562 uid2offset_[ref->ref_inst->unique_id()], stage_idx, in GenCheckCode()
568 GenDebugStreamWrite(uid2offset_[ref->ref_inst->unique_id()], stage_idx, in GenCheckCode()
596 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx, in GenDescIdxCheckCode() argument
646 GenCheckCode(ult_inst->result_id(), error_id, 0u, length_id, stage_idx, &ref, in GenDescIdxCheckCode()
656 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx, in GenDescInitCheckCode() argument
704 init_check ? builder.GetUintConstantId(0u) : init_id, stage_idx, in GenDescInitCheckCode()
714 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx, in GenTexBuffCheckCode() argument
772 GenCheckCode(ult_inst->result_id(), error_id, coord_id, size_id, stage_idx, in GenTexBuffCheckCode()
[all …]
Dinst_bindless_check_pass.h100 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx,
105 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx,
110 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx,
177 uint32_t length_id, uint32_t stage_idx, RefAnalysis* ref,
Dinst_debug_printf_pass.cpp139 Instruction* printf_inst, uint32_t stage_idx, in GenOutputCode() argument
167 GenDebugStreamWrite(uid2offset_[printf_inst->unique_id()], stage_idx, val_ids, in GenOutputCode()
174 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx, in GenDebugPrintfCode() argument
190 GenOutputCode(printf_inst, stage_idx, new_blocks); in GenDebugPrintfCode()
219 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx, in ProcessImpl()
221 return GenDebugPrintfCode(ref_inst_itr, ref_block_itr, stage_idx, in ProcessImpl()
Dinst_debug_printf_pass.h67 uint32_t stage_idx,
80 void GenOutputCode(Instruction* printf_inst, uint32_t stage_idx,
Dinstrument_pass.cpp144 uint32_t stage_idx, in GenCommonStreamWriteCode() argument
158 builder->GetUintConstantId(stage_idx), builder); in GenCommonStreamWriteCode()
187 void InstrumentPass::GenStageStreamWriteCode(uint32_t stage_idx, in GenStageStreamWriteCode() argument
191 switch (stage_idx) { in GenStageStreamWriteCode()
296 uint32_t instruction_idx, uint32_t stage_idx, in GenDebugStreamWrite() argument
301 uint32_t output_func_id = GetStreamWriteFunctionId(stage_idx, val_id_cnt); in GenDebugStreamWrite()
680 uint32_t InstrumentPass::GetStreamWriteFunctionId(uint32_t stage_idx, in GetStreamWriteFunctionId() argument
766 stage_idx, obuf_curr_sz_id, &builder); in GetStreamWriteFunctionId()
767 GenStageStreamWriteCode(stage_idx, obuf_curr_sz_id, &builder); in GetStreamWriteFunctionId()
893 bool InstrumentPass::InstrumentFunction(Function* func, uint32_t stage_idx, in InstrumentFunction() argument
[all …]
Dinst_buff_addr_check_pass.h100 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx,
119 uint32_t stage_idx, Instruction* ref_inst,
Dinst_buff_addr_check_pass.cpp61 uint32_t stage_idx, Instruction* ref_inst, in GenCheckCode() argument
96 uid2offset_[ref_inst->unique_id()], stage_idx, in GenCheckCode()
435 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx, in GenBuffAddrCheckCode() argument
456 GenCheckCode(valid_id, error_id, ref_uptr_id, stage_idx, ref_inst, in GenBuffAddrCheckCode()
475 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx, in ProcessImpl()
477 return GenBuffAddrCheckCode(ref_inst_itr, ref_block_itr, stage_idx, in ProcessImpl()
/third_party/spirv-tools/source/opt/
Dinstrument_pass.h198 void GenDebugStreamWrite(uint32_t instruction_idx, uint32_t stage_idx,
303 uint32_t GetStreamWriteFunctionId(uint32_t stage_idx,
320 bool InstrumentFunction(Function* func, uint32_t stage_idx,
327 uint32_t stage_idx);
339 uint32_t stage_idx, uint32_t base_off,
361 void GenStageStreamWriteCode(uint32_t stage_idx, uint32_t base_off,
Dinst_bindless_check_pass.cpp516 uint32_t length_id, uint32_t stage_idx, RefAnalysis* ref, in GenCheckCode() argument
547 GenDebugStreamWrite(uid2offset_[ref->ref_inst->unique_id()], stage_idx, in GenCheckCode()
555 uid2offset_[ref->ref_inst->unique_id()], stage_idx, in GenCheckCode()
561 GenDebugStreamWrite(uid2offset_[ref->ref_inst->unique_id()], stage_idx, in GenCheckCode()
589 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx, in GenDescIdxCheckCode() argument
639 GenCheckCode(ult_inst->result_id(), error_id, 0u, length_id, stage_idx, &ref, in GenDescIdxCheckCode()
649 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx, in GenDescInitCheckCode() argument
697 init_check ? builder.GetUintConstantId(0u) : init_id, stage_idx, in GenDescInitCheckCode()
707 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx, in GenTexBuffCheckCode() argument
765 GenCheckCode(ult_inst->result_id(), error_id, coord_id, size_id, stage_idx, in GenTexBuffCheckCode()
[all …]
Dinst_bindless_check_pass.h100 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx,
105 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx,
110 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx,
177 uint32_t length_id, uint32_t stage_idx, RefAnalysis* ref,
Dinst_debug_printf_pass.cpp140 Instruction* printf_inst, uint32_t stage_idx, in GenOutputCode() argument
168 GenDebugStreamWrite(uid2offset_[printf_inst->unique_id()], stage_idx, val_ids, in GenOutputCode()
175 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx, in GenDebugPrintfCode() argument
191 GenOutputCode(printf_inst, stage_idx, new_blocks); in GenDebugPrintfCode()
220 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx, in ProcessImpl()
222 return GenDebugPrintfCode(ref_inst_itr, ref_block_itr, stage_idx, in ProcessImpl()
Dinst_debug_printf_pass.h67 uint32_t stage_idx,
80 void GenOutputCode(Instruction* printf_inst, uint32_t stage_idx,
Dinst_buff_addr_check_pass.h100 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx,
119 uint32_t stage_idx, Instruction* ref_inst,
Dinstrument_pass.cpp189 uint32_t stage_idx, in GenCommonStreamWriteCode() argument
203 builder->GetUintConstantId(stage_idx), builder); in GenCommonStreamWriteCode()
232 void InstrumentPass::GenStageStreamWriteCode(uint32_t stage_idx, in GenStageStreamWriteCode() argument
236 switch (stage_idx) { in GenStageStreamWriteCode()
343 uint32_t instruction_idx, uint32_t stage_idx, in GenDebugStreamWrite() argument
348 uint32_t output_func_id = GetStreamWriteFunctionId(stage_idx, val_id_cnt); in GenDebugStreamWrite()
734 uint32_t InstrumentPass::GetStreamWriteFunctionId(uint32_t stage_idx, in GetStreamWriteFunctionId() argument
820 stage_idx, obuf_curr_sz_id, &builder); in GetStreamWriteFunctionId()
821 GenStageStreamWriteCode(stage_idx, obuf_curr_sz_id, &builder); in GetStreamWriteFunctionId()
958 bool InstrumentPass::InstrumentFunction(Function* func, uint32_t stage_idx, in InstrumentFunction() argument
[all …]
Dinst_buff_addr_check_pass.cpp61 uint32_t stage_idx, Instruction* ref_inst, in GenCheckCode() argument
96 uid2offset_[ref_inst->unique_id()], stage_idx, in GenCheckCode()
437 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx, in GenBuffAddrCheckCode() argument
458 GenCheckCode(valid_id, error_id, ref_uptr_id, stage_idx, ref_inst, in GenBuffAddrCheckCode()
477 UptrVectorIterator<BasicBlock> ref_block_itr, uint32_t stage_idx, in ProcessImpl()
479 return GenBuffAddrCheckCode(ref_inst_itr, ref_block_itr, stage_idx, in ProcessImpl()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline_rt.c237 unsigned stage_idx; member
246 if (vars->stage_idx == group->generalShader || vars->stage_idx == group->closestHitShader) in reserve_stack_size()
250 if (vars->stage_idx == group->anyHitShader || vars->stage_idx == group->intersectionShader) in reserve_stack_size()
345 src->stage_idx = dst->stage_idx; in map_rt_variables()
1110 vars->stage_idx = shader_id; in visit_any_hit_shaders()
1319 inner_vars.stage_idx = shader_id; in insert_traversal_aabb_case()
1792 vars.stage_idx = i; in create_rt_shader()

12