gl: Handle clip plane switching using API calls and the state tracker

This commit is contained in:
kd-11 2022-10-20 20:54:35 +03:00 committed by kd-11
parent 903d847058
commit bd9c876e36
6 changed files with 30 additions and 14 deletions

View file

@ -289,6 +289,9 @@ void GLGSRender::update_draw_state()
break;
}
// Clip planes
gl_state.clip_planes((current_vertex_program.output_mask >> CELL_GCM_ATTRIB_OUTPUT_UC0) & 0x3F);
// Sample control
// TODO: MinSampleShading
//gl_state.enable(rsx::method_registers.msaa_enabled(), GL_MULTISAMPLE);