mirror of https://github.com/xemu-project/xemu.git
nv2a/glsl: Remove some more redundant comments
This commit is contained in:
parent
0b96cc503d
commit
8cc83dfc43
|
@ -565,7 +565,6 @@ static MString* add_stage_code(struct PixelShader *ps,
|
|||
return ret;
|
||||
}
|
||||
|
||||
// Add code for the final combiner stage
|
||||
static void add_final_stage_code(struct PixelShader *ps, struct FCInputInfo final)
|
||||
{
|
||||
ps->varE = get_input_var(ps, final.e, false);
|
||||
|
|
|
@ -77,7 +77,6 @@ bool pgraph_glsl_check_shader_state_dirty(PGRAPHState *pg,
|
|||
return true;
|
||||
}
|
||||
|
||||
// Textures
|
||||
for (int i = 0; i < 4; i++) {
|
||||
if (pgraph_is_reg_dirty(pg, NV_PGRAPH_TEXCTL0_0 + i * 4) ||
|
||||
pgraph_is_reg_dirty(pg, NV_PGRAPH_TEXFILTER0 + i * 4) ||
|
||||
|
|
|
@ -86,7 +86,6 @@ static void set_programmable_vsh_state(PGRAPHState *pg,
|
|||
int program_start = GET_MASK(pgraph_reg_r(pg, NV_PGRAPH_CSV0_C),
|
||||
NV_PGRAPH_CSV0_C_CHEOPS_PROGRAM_START);
|
||||
|
||||
// copy in vertex program tokens
|
||||
prog->program_length = 0;
|
||||
for (int i = program_start; i < NV2A_MAX_TRANSFORM_PROGRAM_LENGTH; i++) {
|
||||
uint32_t *cur_token = (uint32_t *)&pg->program_data[i];
|
||||
|
|
Loading…
Reference in New Issue