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