[Android] Missed a few things for PowerVR544MP3 'support.' It doesn't actually get any video output on it just like Tegra 4.
This commit is contained in:
1 parent
a40daac5b1
commit
26c38648ec
6 files changed
+17
-7
No files matched your search
@@ -576,8 +576,8 @@ void ProgramShaderCache::CreateHeader ( void )
|
||||
, v==GLSLES2 ? "#define out " : ""
|
||||
, v==GLSLES2 ? "#define ocol0 gl_FragColor" : ""
|
||||
, v==GLSLES2 ? "#define ocol1 gl_FragColor" : ""
|
||||
, v==GLSLES2 ? "#extension GL_NV_uniform_buffer_object : enable" : ""
|
||||
, v==GLSLES2 ? "#extension GL_NV_fragdepth : enable" : ""
|
||||
, DriverDetails::HasBug(DriverDetails::BUG_ISTEGRA) ? "#extension GL_NV_uniform_buffer_object : enable" : ""
|
||||
, DriverDetails::HasBug(DriverDetails::BUG_ISTEGRA) ? "#extension GL_NV_fragdepth : enable" : ""
|
||||
, v==GLSLES2 ? "" : "out vec4 name;"
|
||||
);
|
||||
}
|
||||
|
||||
@@ -388,7 +388,7 @@ Renderer::Renderer()
|
||||
g_ogl_config.bSupportCoverageMSAA = false; // XXX: GLES3 spec has MSAA
|
||||
g_ogl_config.bSupportSampleShading = false;
|
||||
g_ogl_config.bSupportOGL31 = false;
|
||||
if (DriverDetails::HasBug(DriverDetails::BUG_ISTEGRA))
|
||||
if (DriverDetails::HasBug(DriverDetails::BUG_ISTEGRA) || DriverDetails::HasBug(DriverDetails::BUG_ISPOWERVR))
|
||||
g_ogl_config.eSupportedGLSLVersion = GLSLES2;
|
||||
else
|
||||
g_ogl_config.eSupportedGLSLVersion = GLSLES3;
|
||||
|
||||
@@ -33,7 +33,9 @@ StreamBuffer::StreamBuffer(u32 type, size_t size, StreamType uploadType)
|
||||
g_Config.bHackedBufferUpload = false;
|
||||
}
|
||||
|
||||
if(!g_ogl_config.bSupportsGLBaseVertex && (m_uploadtype & BUFFERDATA) && !DriverDetails::HasBug(DriverDetails::BUG_ISTEGRA))
|
||||
if(!g_ogl_config.bSupportsGLBaseVertex && (m_uploadtype & BUFFERDATA)
|
||||
&& !DriverDetails::HasBug(DriverDetails::BUG_ISPOWERVR)
|
||||
&& !DriverDetails::HasBug(DriverDetails::BUG_ISTEGRA))
|
||||
m_uploadtype = BUFFERDATA;
|
||||
else if(!g_ogl_config.bSupportsGLBaseVertex && (m_uploadtype & BUFFERSUBDATA))
|
||||
m_uploadtype = BUFFERSUBDATA;
|
||||
|
||||
Reference in new issue
Block a user