Trying to figure out shader flow control; not going so well :/

This commit is contained in:
Ben Vanik
2015-03-15 16:55:20 -07:00
parent 35513ceea0
commit 1608878437
4 changed files with 155 additions and 46 deletions

View File

@@ -160,7 +160,9 @@ class GL4ShaderTranslator {
void AppendPredPost(bool is_cond_cf, uint32_t cf_condition,
uint32_t pred_select, uint32_t condition);
bool TranslateBlocks(GL4Shader* shader);
bool TranslateExec(const ucode::instr_cf_exec_t& cf);
bool TranslateJmp(const ucode::instr_cf_jmp_call_t& cf);
bool TranslateVertexFetch(const ucode::instr_fetch_vtx_t* vtx, int sync);
bool TranslateTextureFetch(const ucode::instr_fetch_tex_t* tex, int sync);
};