| 85 | } |
| 86 | |
| 87 | void ShaderDebugger::SetArguments(bv_stack* args) |
| 88 | { |
| 89 | if (m_args != nullptr) |
| 90 | bv_stack_delete(m_args); |
| 91 | |
| 92 | m_args = args; |
| 93 | |
| 94 | bv_function* entryPtr = bv_program_get_function(m_prog, m_entry.c_str()); |
| 95 | if (entryPtr == nullptr) |
| 96 | return; |
| 97 | |
| 98 | m_stepper = bv_function_stepper_create(m_prog, entryPtr, NULL, m_args); |
| 99 | } |
| 100 | |
| 101 | std::string ShaderDebugger::GetCurrentFunction() |
| 102 | { |
nothing calls this directly
no outgoing calls
no test coverage detected