private void btnScrutinize_Click(object sender, EventArgs e) { int i = cmbAsic.SelectedIndex; if (i >= 0 && i < m_Shaders.Count) { IAMDShader sh = m_Shaders[cmbAsic.SelectedIndex]; Scrutinizer.UI.ScrutinizerForm f = new Scrutinizer.UI.ScrutinizerForm(sh); f.ShowDialog(); } }
private void btnScrutinize_Click(object sender, EventArgs e) { int i = cmbAsic.SelectedIndex; if (i >= 0 && i < m_Shaders.Count) { IAMDShader sh = m_Shaders[cmbAsic.SelectedIndex]; Scrutinizer.IScrutinizer backend = sh.CreateScrutinizer(); List<Scrutinizer.IInstruction> Ops = backend.BuildProgram(); List<Scrutinizer.IInstruction> Fetch = backend.BuildDXFetchShader(m_DXReflection); Scrutinizer.UI.ScrutinizerForm f = new Scrutinizer.UI.ScrutinizerForm(Fetch, Ops, backend); f.ShowDialog(); } }
private void btnScrutinize_Click(object sender, EventArgs e) { int i = cmbAsic.SelectedIndex; if (i >= 0 && i < m_Shaders.Count) { IAMDShader sh = m_Shaders[cmbAsic.SelectedIndex]; Scrutinizer.IScrutinizer backend = sh.CreateScrutinizer(); List <Scrutinizer.IInstruction> Ops = backend.BuildProgram(); List <Scrutinizer.IInstruction> Fetch = backend.BuildDXFetchShader(m_DXReflection); Scrutinizer.UI.ScrutinizerForm f = new Scrutinizer.UI.ScrutinizerForm(Fetch, Ops, backend); f.ShowDialog(); } }