Loading cmds/flatland/Main.cpp +6 −6 Original line number Original line Diff line number Diff line Loading @@ -206,8 +206,8 @@ static const BenchmarkDesc benchmarks[] = { static const ShaderDesc shaders[] = { static const ShaderDesc shaders[] = { { { name: "Blit", .name="Blit", vertexShader: { .vertexShader={ "precision mediump float;", "precision mediump float;", "", "", "attribute vec4 position;", "attribute vec4 position;", Loading @@ -223,7 +223,7 @@ static const ShaderDesc shaders[] = { " texCoords = uvToTex * uv;", " texCoords = uvToTex * uv;", "}", "}", }, }, fragmentShader: { .fragmentShader={ "#extension GL_OES_EGL_image_external : require", "#extension GL_OES_EGL_image_external : require", "precision mediump float;", "precision mediump float;", "", "", Loading @@ -240,8 +240,8 @@ static const ShaderDesc shaders[] = { }, }, { { name: "Gradient", .name="Gradient", vertexShader: { .vertexShader={ "precision mediump float;", "precision mediump float;", "", "", "attribute vec4 position;", "attribute vec4 position;", Loading @@ -257,7 +257,7 @@ static const ShaderDesc shaders[] = { " interp = (uvToInterp * uv).x;", " interp = (uvToInterp * uv).x;", "}", "}", }, }, fragmentShader: { .fragmentShader={ "precision mediump float;", "precision mediump float;", "", "", "varying float interp;", "varying float interp;", Loading Loading
cmds/flatland/Main.cpp +6 −6 Original line number Original line Diff line number Diff line Loading @@ -206,8 +206,8 @@ static const BenchmarkDesc benchmarks[] = { static const ShaderDesc shaders[] = { static const ShaderDesc shaders[] = { { { name: "Blit", .name="Blit", vertexShader: { .vertexShader={ "precision mediump float;", "precision mediump float;", "", "", "attribute vec4 position;", "attribute vec4 position;", Loading @@ -223,7 +223,7 @@ static const ShaderDesc shaders[] = { " texCoords = uvToTex * uv;", " texCoords = uvToTex * uv;", "}", "}", }, }, fragmentShader: { .fragmentShader={ "#extension GL_OES_EGL_image_external : require", "#extension GL_OES_EGL_image_external : require", "precision mediump float;", "precision mediump float;", "", "", Loading @@ -240,8 +240,8 @@ static const ShaderDesc shaders[] = { }, }, { { name: "Gradient", .name="Gradient", vertexShader: { .vertexShader={ "precision mediump float;", "precision mediump float;", "", "", "attribute vec4 position;", "attribute vec4 position;", Loading @@ -257,7 +257,7 @@ static const ShaderDesc shaders[] = { " interp = (uvToInterp * uv).x;", " interp = (uvToInterp * uv).x;", "}", "}", }, }, fragmentShader: { .fragmentShader={ "precision mediump float;", "precision mediump float;", "", "", "varying float interp;", "varying float interp;", Loading