annotate gcc/testsuite/gcc.dg/vect/pr49318.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* { dg-do compile } */
kono
parents:
diff changeset
2 /* { dg-require-effective-target vect_int } */
kono
parents:
diff changeset
3 /* { dg-require-effective-target vect_float } */
kono
parents:
diff changeset
4
kono
parents:
diff changeset
5 typedef enum { GL_FALSE } GLenum;
kono
parents:
diff changeset
6 typedef unsigned char GLboolean;
kono
parents:
diff changeset
7 typedef int GLint;
kono
parents:
diff changeset
8 typedef unsigned int GLuint;
kono
parents:
diff changeset
9 typedef float GLfloat;
kono
parents:
diff changeset
10 typedef double GLdouble;
kono
parents:
diff changeset
11 typedef struct gl_context GLcontext;
kono
parents:
diff changeset
12 struct gl_context {
kono
parents:
diff changeset
13 GLfloat TextureMatrix[16];
kono
parents:
diff changeset
14 GLenum Primitive;
kono
parents:
diff changeset
15 };
kono
parents:
diff changeset
16 void gl_GetDoublev( GLcontext *ctx, GLenum pname, GLdouble *params ) {
kono
parents:
diff changeset
17 GLuint i;
kono
parents:
diff changeset
18 for (i=0; i<16; i++)
kono
parents:
diff changeset
19 params[i] = (GLint) ctx->TextureMatrix[i];
kono
parents:
diff changeset
20 }
kono
parents:
diff changeset
21