X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;ds=sidebyside;f=apps%2Fegl%2Fgles2%2Ftri_glsl.ref.txt;h=980ce60a627537663d75fac6ce67ea25e957d524;hb=284a55f9ccdf99f4a6f71acf0d90d15c2be3d62f;hp=4894610dfa610fb73e4425e6d1a3fde6a24e9124;hpb=a7fed0ca7137f09c44c4dfe7fd7619cf19965bb4;p=apitrace-tests diff --git a/apps/egl/gles2/tri_glsl.ref.txt b/apps/egl/gles2/tri_glsl.ref.txt index 4894610..980ce60 100644 --- a/apps/egl/gles2/tri_glsl.ref.txt +++ b/apps/egl/gles2/tri_glsl.ref.txt @@ -23,26 +23,23 @@ glGetShaderiv(shader = 2, pname = GL_COMPILE_STATUS, params = &1) glCreateProgram() = 3 glAttachShader(program = 3, shader = 1) glAttachShader(program = 3, shader = 2) -glBindAttribLocation(program = 3, index = 1, name = "pos") -glBindAttribLocation(program = 3, index = 0, name = "color") -glLinkProgram(program = 3) -glGetProgramiv(program = 3, pname = GL_LINK_STATUS, params = &1) -glUseProgram(program = 3) -glBindAttribLocation(program = 3, index = 0, name = "pos") -glBindAttribLocation(program = 3, index = 1, name = "color") glBindAttribLocation(program = 3, index = 0, name = "pos") glBindAttribLocation(program = 3, index = 1, name = "color") glLinkProgram(program = 3) +glGetProgramiv(program = 3, pname = GL_LINK_STATUS, params = &1) +glUseProgram(program = 3) +glGetAttribLocation(program = 3, name = "pos") = 0 +glGetAttribLocation(program = 3, name = "color") = 1 glGetUniformLocation(program = 3, name = "modelviewProjection") = 0 glViewport(x = 0, y = 0, width = 300, height = 300) glViewport(x = 0, y = 0, width = 300, height = 300) glViewport(x = 0, y = 0, width = 300, height = 300) -glUniformMatrix4fv(location = 0, count = 1, transpose = false, value = {0.5, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 1}) +glUniformMatrix4fv(location = 0, count = 1, transpose = GL_FALSE, value = {0.5, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 1}) glClear(mask = GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT) glEnableVertexAttribArray(index = 0) glEnableVertexAttribArray(index = 1) -glVertexAttribPointer(index = 0, size = 2, type = GL_FLOAT, normalized = false, stride = 0, pointer = blob(24)) -glVertexAttribPointer(index = 1, size = 3, type = GL_FLOAT, normalized = false, stride = 0, pointer = blob(36)) +glVertexAttribPointer(index = 0, size = 2, type = GL_FLOAT, normalized = GL_FALSE, stride = 0, pointer = blob(24)) +glVertexAttribPointer(index = 1, size = 3, type = GL_FLOAT, normalized = GL_FALSE, stride = 0, pointer = blob(36)) glDrawArrays(mode = GL_TRIANGLES, first = 0, count = 3) glDisableVertexAttribArray(index = 0) glDisableVertexAttribArray(index = 1)