android - Compile-time failure when reading texels from samplerExternalOES -


minimal failing fragment shader:

#version 320 es #extension gl_oes_egl_image_external_essl3 : require  precision highp float; precision highp int;  vec4 x(samplerexternaloes sampler) {     return texture(sampler, vec2(0, 0)); }  void main() { } 

on samsung g-930p, opengl es 3.2 v@145.0 (git@i5bc0f577f9), fails compile, shader log reading:

internal compiler error: error: array indexing out of boundary

on samsung g-930f - same phone, same android version, etc. opengl es 3.2 v1.r12p1-00dev0.60546d7cd0bfd82d0ba92ca3bb825c75, compiles - , latter device can correctly execute more complex shaders read texels samplerexternaloes.

is bug in opengl es implementation on g-930p? unreasonable way specify parameters of function wants call texture on samplerexternaloes?

is bug in opengl es implementation on g-930p?

it sure looks ...

on samsung g-930f - same phone, same android version, etc. opengl es 3.2 v1.r12p1-00dev0.60546d7cd0bfd82d0ba92ca3bb825c75,

it's not same if inside phone.

the first phone (with version v@145.0) based on qualcomm snapdradon uses adreno gpu, second (12p1) based on samsung exynos uses mali gpu.

to me looks bug in adreno device driver, , mali's driver handling correctly.


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -