|
|
@ -28,6 +28,9 @@ MICROPROFILE_DEFINE(OpenGL_Blits, "OpenGL", "Blits", MP_RGB(100, 100, 255));
|
|
|
|
MICROPROFILE_DEFINE(OpenGL_CacheManagement, "OpenGL", "Cache Mgmt", MP_RGB(100, 255, 100));
|
|
|
|
MICROPROFILE_DEFINE(OpenGL_CacheManagement, "OpenGL", "Cache Mgmt", MP_RGB(100, 255, 100));
|
|
|
|
|
|
|
|
|
|
|
|
RasterizerOpenGL::RasterizerOpenGL() : shader_dirty(true) {
|
|
|
|
RasterizerOpenGL::RasterizerOpenGL() : shader_dirty(true) {
|
|
|
|
|
|
|
|
// Clipping plane 0 is always enabled for PICA fixed clip plane z <= 0
|
|
|
|
|
|
|
|
state.clip_distance[0] = true;
|
|
|
|
|
|
|
|
|
|
|
|
// Create sampler objects
|
|
|
|
// Create sampler objects
|
|
|
|
for (size_t i = 0; i < texture_samplers.size(); ++i) {
|
|
|
|
for (size_t i = 0; i < texture_samplers.size(); ++i) {
|
|
|
|
texture_samplers[i].Create();
|
|
|
|
texture_samplers[i].Create();
|
|
|
|