Forums - Shader compilation fails without errors (solved)

1 post / 0 new
Shader compilation fails without errors (solved)
marc.appelsmeie...
Join Date: 30 Aug 11
Posts: 2
Posted: Tue, 2011-08-30 03:03

Hi,

[Before Edit:]

I have a shader which fails to compile on the XPeria Play (compiles fine on PowerVR devices).
Unfortunatly the shader info log is 0 bytes long and thus empty. Is there a way to get somehow more informations?

 The shader in question (OpenGLES 2.0 Vertex Program):

precision mediump float;
precision mediump sampler2D;
precision mediump samplerCube;
mat3 xll_constructMat3( mat4 m) {
// Cut here

[/Before Edit]

Looks like the precision mediump where the problems (for the samplers). The Adreno Profiler pointed them out as the culprits instantly
after I loaded the shader into it. (The profiler by the way rocks!)

Cheers,

Marc

 

 

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.