Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
147 user(s) are online (106 user(s) are browsing Forums)

Members: 1
Guests: 146

Kamelito, more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 40 41 42 (43)
Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Home away from home
Home away from home


See User information
@Raziel
IMHO every developer who need fresh version can build it (i wrote instructions in gl4es sdk).

But, there lately were some regressions in gl4es cause massive slowdowns on os4, dunno if they were dealt with or not. To be on safe side just use version from my gl4es sdk

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Just popping in
Just popping in


See User information
@Raziel sent you an email.

Dave

Go to top
Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Home away from home
Home away from home


See User information
@davec555

Thank you

Go to top
Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Just popping in
Just popping in


See User information
Hello, fellow developers as an exercise I'm trying to port quakespasm to amigaos4. I'm kind of new to game development and graphic libraries. So far I managed to boot the game with some visual glitches.

Resized Image

The build crashes a lot and the performance is bad but it starts.

Two problems related to gl4es seem to be causing some of the above.

The first is strange as I can't find any function call with the below values. 0x8036 is defined in gl.h under the name GL_UNSIGNED_INT_10_10_10_2.

LIBGLUnsupported source data type0x8036
LIBGL
swizzle error: (GL_RGBA0x8036 -> GL_RGBAGL_UNSIGNED_BYTE)
LIBGLUnsupported source data type0x8036
LIBGL
swizzle error: (GL_RGBA0x8036 -> GL_RGBAGL_UNSIGNED_BYTE)
LIBGLUnsupported source data type0x8036
LIBGL
swizzle error: (GL_RGBA0x8036 -> GL_RGBAGL_UNSIGNED_BYTE)


It is used as type value for lightmaps if r_lightmapwide is set to 1, which is not the case.

const qboolean wide10bits r_lightmapwide.value != 0;
    const 
GLenum type wide10bits GL_UNSIGNED_INT_10_10_10_2 GL_UNSIGNED_BYTE;


The other problem is about shader compilation (which explains lighting problems):

WarningGLSL program failed to compileERRORCode generation failed.
Error log:
Boolean uniforms aren't supported yet:
        offset: 0, size: 1, Bool UseAlphaTest
INTERNAL ERROR: OpBranchConditional instruction'
s source parameters are missing
Is missing one 
or more source parameters:
                
34OpPhiBooltmp34 << [tmp24lb5], [tmp33lb25]
INTERNAL ERROROpBranchConditional instruction's source parameters are missing
Boolean uniforms aren'
t supported yet:
        
offset1size1Bool UseOverbright
INTERNAL ERROR
OpBranchConditional instruction's source parameters are missing
Boolean uniforms aren'
t supported yet:
        
offset2size1Bool UseFullbrightTex
INTERNAL ERROR
OpBranchConditional instruction's source parameters are missing
Reading uniforms with an offset that isn'
t a multiple of 32-bits in size isn't supported:
        offset: 3, size: 16, FloatVector4 color
INTERNAL ERROR: ExtInstruction is missing parameters
INTERNAL ERROR: Store instruction'
s source parameter is incomplete:
                    
OpStore: : tmp99 >> result

Warning
GLSL program failed to compileERRORCode generation failed.
Error log:
Boolean uniforms aren't supported yet:
        offset: 0, size: 1, Bool UseLightmapOnly
INTERNAL ERROR: OpBranchConditional instruction'
s source parameters are missing
Boolean uniforms aren
't supported yet:
        offset: 1, size: 1, Bool UseAlphaTest
INTERNAL ERROR: OpBranchConditional instruction'
s source parameters are missing
Is missing one 
or more source parameters:
                
41OpPhiBooltmp41 << [tmp31lb26], [tmp40lb32]
INTERNAL ERROROpBranchConditional instruction's source parameters are missing
Boolean uniforms aren'
t supported yet:
        
offset2size1Bool UseLightmapWide
INTERNAL ERROR
OpBranchConditional instruction's source parameters are missing
Boolean uniforms aren'
t supported yet:
        
offset3size1Bool UseOverbright
INTERNAL ERROR
OpBranchConditional instruction's source parameters are missing
Boolean uniforms aren'
t supported yet:
        
offset4size1Bool UseFullbrightTex
INTERNAL ERROR
OpBranchConditional instruction's source parameters are mi



Does anyone have similar issues?

Thanks
jarokuczi

Go to top
Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Home away from home
Home away from home


See User information
@jarokuczi

regarding boolean uniforms, yeah, they are not supported (still)
did a bug report/feature requests years back, but none came of it

heres what they did to work around it on scummvm
https://github.com/search?q=repo%3Ascu ... lean%20uniforms&type=code

Go to top
Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Home away from home
Home away from home


See User information
@jarokuczi
Can't remember about swizzle errors (i were sure Daniel fix it all before in ogles2, but maybe you need to try to contact with him about), but as Raziel said boolean uniforms is not supported, but as they _very_ easy to be workarounded, Hans (in case of shaders errors it's mostly warp3dnova area) just didn't find motivation to implement them : and implementation of them will take lots of time as he says, and better to just fix shader's code manually (that matter of changing few bits only, as on Raziel's example)

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Home away from home
Home away from home


See User information
@kas1e

not sure where else to post, but i guess i might have found a bug in gl4es?

please take a look: https://github.com/scummvm/scummvm/pul ... 6#issuecomment-2453049173

thank you

Go to top

  Register To Post
« 1 ... 40 41 42 (43)

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project