# Binary File Generation with samplerExternalOES type

**URL:** <https://forums.imgtec.com/t/binary-file-generation-with-samplerexternaloes-type/2531>\
**Category:** PowerVR Insider\
**Created:** [April 13, 2017, 10:47am UTC](https://forums.imgtec.com/t/binary-file-generation-with-samplerexternaloes-type/2531 "2017-04-13T10:47:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbmaher](https://avatars.discourse-cdn.com/v4/letter/j/50afbb/32.png) [@jbmaher](https://forums.imgtec.com/u/jbmaher)\
**Post date:** [April 13, 2017, 10:47am UTC](https://forums.imgtec.com/t/binary-file-generation-with-samplerexternaloes-type/2531/1 "2017-04-13T10:47:27Z")

</div>

Hello All,  
Has anyone experienced problems generating a program binary, when the fragment shader contains both sampler2d and samplerExternalOES types?

Compiling the program within the application, I see no problems and the program runs as expected. However when I create the binary version of the same program and load that I get a very different behaviour. I have seen some reports problems encountered when combining these types sampler types ?  
[http://stackoverflow.com/questions/13376254/android-opengl-combination-of-surfacetexture-external-image-and-ordinary-textu](http://stackoverflow.com/questions/13376254/android-opengl-combination-of-surfacetexture-external-image-and-ordinary-textu)

I should also point out that I have successfully created and loaded binary that contain sampler2d and samplerExternalOES types exclusively.

-J

---

<div class="post-metadata">

**Author:** ![MartonTamas](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/martontamas/32/297_2.png) [@MartonTamas](https://forums.imgtec.com/u/MartonTamas)\
**Post date:** [April 13, 2017, 12:37pm UTC](https://forums.imgtec.com/t/binary-file-generation-with-samplerexternaloes-type/2531/2 "2017-04-13T12:37:47Z")

</div>

Hi John,

do you have an android apk that we can use to reproduce the problem? (just to see if it’s a driver bug or not)  
Also, what platform are you running this on? What is the driver’s version?

bests,  
Marton
