12-14-2012, 12:08 PM (This post was last modified: 12-14-2012, 12:10 PM by Darth1701.)
(12-14-2012, 10:59 AM)gid15 Wrote: It would be good to open a new thread for this topic. This is a good idea to use 3DStudio for testing.
Could you try the following tests:
- Select "disable optimized VertexInfo reading": any changes?
- in jpcsp.graphics.RE.RenderingEngineFactor, delete/uncomment the line 74:
Code:
// re = new StateProxy(re);
Log 4 is with +"Disable optimized VertexInfo", no changes
Log 5 is without line 74, settings as with Log 4, success!
Log 6 is without line 74, Shaders,Dynamic,UBO, also success!
Tried without line 74 and Shaders alone, unchanged, Shaders+Dynamic also unchanged
JPCSP games tested with Athlon X2 4850e, 4 GB RAM, Radeon HD 3300 (onboard), OpenGL: 3.3.11653, Windows XP SP3 32-bit PPSSPP games tested with Intel i3, 4 GB RAM, Intel HD Graphics 2000 (onboard), OpenGL: 3.1.0 Build 6.14.10.5421, Windows XP SP3 32-bit
(12-14-2012, 12:08 PM)Darth1701 Wrote: Log 6 is without line 74, Shaders,Dynamic,UBO, also success!
Good news!
Next step is to find out which function in StateProxy is causing the issue.
You now have to reenable line 74 in RenderingEngineFactory and uncomment the functions disableVertexAttribArray and enableVertexAttribArray in StateProxy (lines 542 - 562):
Code:
// @Override
// public void disableVertexAttribArray(int id) {
// if (id >= 0 && id <= maxUniformId) {
// StateBoolean state = vertexAttribArray[id];
// if (!state.isFalse()) {
// super.disableVertexAttribArray(id);
// state.setValue(false);
// }
// }
// }
//
// @Override
// public void enableVertexAttribArray(int id) {
// if (id >= 0 && id <= maxUniformId) {
// StateBoolean state = vertexAttribArray[id];
// if (!state.isTrue()) {
// super.enableVertexAttribArray(id);
// state.setValue(true);
// }
// }
// }
Is the display then still correct?
If not, try to uncomment all the functions with a name starting with setUniform
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
12-14-2012, 12:58 PM (This post was last modified: 12-14-2012, 01:24 PM by Darth1701.)
(12-14-2012, 12:37 PM)gid15 Wrote: Is the display then still correct?
No, red screen again.
Settings: Shaders,Dynamic,UBO
Restoring Line 542-562, Removing at
Line 344, Uniform
Line 356, Uniform
Line 366, Uniform
Line 383, Uniform2
Line 401, Uniform3
Line 421, Uniform4
Line 443, UniformMatrix4
Success! Should I try to find out what Uniform is the cause?
EDIT: It is the Line 356, Uniform!
Now what?
JPCSP games tested with Athlon X2 4850e, 4 GB RAM, Radeon HD 3300 (onboard), OpenGL: 3.3.11653, Windows XP SP3 32-bit PPSSPP games tested with Intel i3, 4 GB RAM, Intel HD Graphics 2000 (onboard), OpenGL: 3.1.0 Build 6.14.10.5421, Windows XP SP3 32-bit
JPCSP games tested with Athlon X2 4850e, 4 GB RAM, Radeon HD 3300 (onboard), OpenGL: 3.3.11653, Windows XP SP3 32-bit PPSSPP games tested with Intel i3, 4 GB RAM, Intel HD Graphics 2000 (onboard), OpenGL: 3.1.0 Build 6.14.10.5421, Windows XP SP3 32-bit