tegra

vertex shader doesn't run on galaxy tab10 (tegra 2)

不羁的心 提交于 2019-12-01 11:22:19
I created an app that uses GLES2.0 on a HTC Desire S. It works on the HTC, but not on an Samung Galaxy tab10.1. The program cannot be linked (GLES20.glGetProgramiv(mProgram, GLES20.GL_LINK_STATUS, linOk,0) gives-1) and glGetError() gives me an error 1282 (Invalid Operation). When I replace this line (in the shader): graph_coord.z = (texture2D(mytexture, graph_coord.xy / 2.0 + 0.5).r); by graph_coord.z = 0.2; it works also on the galaxy tab. My shader looks like this: private final String vertexShaderCode = "attribute vec2 coord2d;" + "varying vec4 graph_coord;" + "uniform mat4 texture

vertex shader doesn't run on galaxy tab10 (tegra 2)

不羁的心 提交于 2019-12-01 08:57:39
问题 I created an app that uses GLES2.0 on a HTC Desire S. It works on the HTC, but not on an Samung Galaxy tab10.1. The program cannot be linked (GLES20.glGetProgramiv(mProgram, GLES20.GL_LINK_STATUS, linOk,0) gives-1) and glGetError() gives me an error 1282 (Invalid Operation). When I replace this line (in the shader): graph_coord.z = (texture2D(mytexture, graph_coord.xy / 2.0 + 0.5).r); by graph_coord.z = 0.2; it works also on the galaxy tab. My shader looks like this: private final String

-mimplicit-it compiler flag not recognized

天涯浪子 提交于 2019-12-01 00:13:41
I am attempting to compile a C++ library for a Tegra TK1. The library links to TBB, which I pulled using the package manager. During compilation I got the following error /tmp/cc4iLbKz.s: Assembler messages: /tmp/cc4iLbKz.s:9541: Error: thumb conditional instruction should be in IT block -- `strexeq r2,r3,[r4]' A bit of googling and this question led me to try adding -mimplicit-it=thumb to CMAKE_CXX_FLAGS, but the compiler doesn't recognize it. I am compiling on the tegra with kernal 3.10.40-grinch-21.3.4, and using gcc 4.8.4 compiler (thats what comes back when I type c++ -v) I'm not sure

-mimplicit-it compiler flag not recognized

大憨熊 提交于 2019-11-30 18:07:37
问题 I am attempting to compile a C++ library for a Tegra TK1. The library links to TBB, which I pulled using the package manager. During compilation I got the following error /tmp/cc4iLbKz.s: Assembler messages: /tmp/cc4iLbKz.s:9541: Error: thumb conditional instruction should be in IT block -- `strexeq r2,r3,[r4]' A bit of googling and this question led me to try adding -mimplicit-it=thumb to CMAKE_CXX_FLAGS, but the compiler doesn't recognize it. I am compiling on the tegra with kernal 3.10.40