# shader: Not Compilable

**URL:** <https://forums.imgtec.com/t/shader-not-compilable/1295>\
**Category:** PowerVR Insider\
**Created:** [January 31, 2012, 7:32am UTC](https://forums.imgtec.com/t/shader-not-compilable/1295 "2012-01-31T07:32:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![maul](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/maul/32/143_2.png) [@maul](https://forums.imgtec.com/u/maul)\
**Post date:** [January 31, 2012, 7:32am UTC](https://forums.imgtec.com/t/shader-not-compilable/1295/1 "2012-01-31T07:32:28Z")

</div>

I’m using the newest PowerVR SDK for linux with SDL 1.3. I originally downloaded it because I wanted to investigate a weird bug with my application that only occurs on android.  
  
  
  
  
  
When I compile a shader, I get the following message:  
  
  
  
  
  
Not Compilable, Log:  
  
  
Not Compilable, Log: #version 100  
  
  
#version 100#ifdef GL\_ES  
  
  
#ifdef GL\_ESprecision highp float;  
  
  
precision highp float;#endif  
  
  
#endifuniform mat4 MVP\_IN;  
  
  
uniform mat4 MVP\_IN;attribute vec2 VERT\_POS\_IN;  
  
  
attribute vec2 VERT\_POS\_IN;void main ()  
  
  
void main (){  
  
  
{ vec4 tmpvar\_1;  
  
  
 vec4 tmpvar\_1; tmpvar\_1.zw = vec2(0.0, 1.0);  
  
  
 tmpvar\_1.zw = vec2(0.0, 1.0); tmpvar\_1.xy = VERT\_POS\_IN;  
  
  
 tmpvar\_1.xy = VERT\_POS\_IN; gl\_Position = (MVP\_IN \* tmpvar\_1);  
  
  
 gl\_Position = (MVP\_IN \* tmpvar\_1);}  
  
  
}  
  
  
  
  
  
Here’s what’s curious:  
  
  
-everything is printed twice (and mixed!) even though I only call the compile function once and there is only a single application thread  
  
  
-the shader as you can see is very simple, there is no error message, and it works fine on other platforms (native linux, android, windows)  
  
  
-despite the error message the shader is compiled and works just fine - but I do get some opengl errors when I try to delete the shader  
  
  
  
  
  
This exact thing happens with all the shaders in my app. Any ideas?maul2012-01-31 08:34:13
