GLSL shaders translating (modulo texture fetches).

This commit is contained in:
Ben Vanik
2014-12-27 16:30:54 -08:00
parent 58cff84550
commit 5b2672a1b8
7 changed files with 173 additions and 258 deletions

View File

@@ -34,8 +34,8 @@ class GL4ShaderTranslator {
GL4Shader* vertex_shader,
const xenos::xe_gpu_program_cntl_t& program_cntl);
std::string TranslatePixelShader(
GL4Shader* pixel_shader, const xenos::xe_gpu_program_cntl_t& program_cntl,
const GL4Shader::AllocCounts& alloc_counts);
GL4Shader* pixel_shader,
const xenos::xe_gpu_program_cntl_t& program_cntl);
protected:
ShaderType shader_type_;