| /xsrc/external/mit/MesaGLUT/dist/src/glut/beos/ |
| H A D | glut_shapes.c | 280 crossprod(GLfloat v1[3], GLfloat v2[3], GLfloat prod[3]) argument 282 GLfloat p[3]; /* in case prod == v1 or v2 */ 284 p[0] = v1[1] * v2[2] - v2[1] * v1[2]; 285 p[1] = v1[2] * v2[0] - v2[2] * v1[0]; 286 p[2] = v1[0] * v2[1] - v2[0] * v1[1]; 386 subdivide(GLfloat * v0, GLfloat * v1, GLfloat * v2, argument 399 w0[n] = (i * v0[n] + j * v1[ [all...] |
| /xsrc/external/mit/MesaGLUT/dist/src/glut/glx/ |
| H A D | glut_shapes.c | 280 crossprod(GLfloat v1[3], GLfloat v2[3], GLfloat prod[3]) argument 282 GLfloat p[3]; /* in case prod == v1 or v2 */ 284 p[0] = v1[1] * v2[2] - v2[1] * v1[2]; 285 p[1] = v1[2] * v2[0] - v2[2] * v1[0]; 286 p[2] = v1[0] * v2[1] - v2[0] * v1[1]; 386 subdivide(GLfloat * v0, GLfloat * v1, GLfloat * v2, argument 399 w0[n] = (i * v0[n] + j * v1[ [all...] |
| /xsrc/external/mit/MesaLib.old/dist/include/GL/ |
| H A D | gl.h | 1114 GLAPI void GLAPIENTRY glRectdv( const GLdouble *v1, const GLdouble *v2 ); 1115 GLAPI void GLAPIENTRY glRectfv( const GLfloat *v1, const GLfloat *v2 ); 1116 GLAPI void GLAPIENTRY glRectiv( const GLint *v1, const GLint *v2 ); 1117 GLAPI void GLAPIENTRY glRectsv( const GLshort *v1, const GLshort *v2 ); 1374 GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, 1378 GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, 1401 GLint vn, GLdouble v1, GLdouble v2 ); 1403 GLint vn, GLfloat v1, GLfloat v2 );
|
| H A D | glcorearb.h | 812 typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); 813 typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 814 typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 816 typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); 817 typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); 818 typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 906 GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1); 907 GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 908 GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 910 GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1); [all...] |
| H A D | glext.h | 686 typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); 687 typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 688 typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 690 typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); 691 typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); 692 typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 780 GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1); 781 GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 782 GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 784 GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1); [all...] |
| /xsrc/external/mit/MesaLib.old/dist/include/GLES2/ |
| H A D | gl2.h | 498 typedef void (GL_APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); 500 typedef void (GL_APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); 502 typedef void (GL_APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 504 typedef void (GL_APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); 506 typedef void (GL_APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 508 typedef void (GL_APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 641 GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1); 643 GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint v0, GLint v1); 645 GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 647 GL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLin [all...] |
| H A D | gl2ext.h | 1794 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); 1796 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1); 1798 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 1800 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); 1802 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 1804 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 1812 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); 1813 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); 1814 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 1839 GL_APICALL void GL_APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1); [all...] |
| /xsrc/external/mit/MesaLib.old/dist/include/GLES3/ |
| H A D | gl3.h | 498 typedef void (GL_APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); 500 typedef void (GL_APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); 502 typedef void (GL_APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 504 typedef void (GL_APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); 506 typedef void (GL_APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 508 typedef void (GL_APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 641 GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1); 643 GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint v0, GLint v1); 645 GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 647 GL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLin [all...] |
| H A D | gl31.h | 500 typedef void (GL_APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); 502 typedef void (GL_APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); 504 typedef void (GL_APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 506 typedef void (GL_APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); 508 typedef void (GL_APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 510 typedef void (GL_APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 643 GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1); 645 GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint v0, GLint v1); 647 GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 649 GL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLin [all...] |
| H A D | gl32.h | 500 typedef void (GL_APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); 502 typedef void (GL_APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); 504 typedef void (GL_APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 506 typedef void (GL_APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); 508 typedef void (GL_APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 510 typedef void (GL_APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 643 GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1); 645 GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint v0, GLint v1); 647 GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 649 GL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLin [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| H A D | glsl_to_nir.cpp | 209 nir_visitor v1(ctx, shader); local in function:glsl_to_nir 210 nir_function_visitor v2(&v1); 212 visit_exec_list(sh->ir, &v1); 2623 nir_visitor v1(ctx, nir); local in function:glsl_float64_funcs_to_nir 2624 nir_function_visitor v2(&v1); 2626 visit_exec_list(sh->ir, &v1);
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/tests/ |
| H A D | comparison_pre_tests.cpp | 34 v1 = nir_imm_vec4(&bld, -2.0, -1.0, 1.0, 2.0); 46 nir_ssa_def *v1; member in class:comparison_pre_test 93 nir_ssa_def *a = nir_channel(&bld, nir_fadd(&bld, v1, v3), 0); 145 nir_ssa_def *b = nir_channel(&bld, nir_fadd(&bld, v1, v3), 0); 198 nir_ssa_def *a = nir_channel(&bld, nir_fadd(&bld, v1, v3), 0); 250 nir_ssa_def *b = nir_channel(&bld, nir_fadd(&bld, v1, v3), 0); 303 nir_ssa_def *a = nir_channel(&bld, nir_fadd(&bld, v1, v3), 0); 356 nir_ssa_def *a = nir_channel(&bld, nir_fadd(&bld, v1, v3), 0); 410 nir_ssa_def *a = nir_channel(&bld, nir_fadd(&bld, v1, v3), 0); 463 nir_ssa_def *a = nir_channel(&bld, nir_fadd(&bld, v1, v [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/spirv/ |
| H A D | spirv_to_nir.c | 1791 struct vtn_value *v1 = &b->values[w[5]]; local in function:vtn_handle_constant 1795 vtn_assert(v1->value_type == vtn_value_type_constant || 1796 v1->value_type == vtn_value_type_undef); 1799 unsigned len1 = glsl_get_vector_elements(v1->type->type); 1805 unsigned bit_size1 = glsl_get_bit_size(v1->type->type); 1816 if (v1->value_type == vtn_value_type_constant) { 1818 u64[len0 + i] = v1->constant->values[0][i].u64; 1838 if (v1->value_type == vtn_value_type_constant) { 1840 u32[len0 + i] = v1->constant->values[0][i].u32;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/ |
| H A D | draw_pipe.c | 129 * Build primitive to render a line with vertices at v0, v1. 135 const char *v1 ) 142 prim.v[1] = (struct vertex_header *)v1; 149 * Build primitive to render a triangle with vertices at v0, v1, v2. 155 char *v1, 161 prim.v[1] = (struct vertex_header *)v1; 132 do_line(struct draw_context * draw,ushort flags,const char * v0,const char * v1) argument 152 do_triangle(struct draw_context * draw,ushort flags,char * v0,char * v1,char * v2) argument
|
| H A D | draw_pipe_clip.c | 386 const float *v1 = header->v[1]->clip_pos; local in function:do_clip_tri 390 debug_printf(" %f, %f, %f, %f\n", v1[0], v1[1], v1[2], v1[3]); 394 const float *v1 = header->v[1]->data[clipper->cv_attr]; local in function:do_clip_tri 398 debug_printf(" %f, %f, %f, %f\n", v1[0], v1[1], v1[2], v1[ 567 struct vertex_header *v1 = header->v[1]; local in function:do_clip_line [all...] |
| H A D | draw_pipe_cull.c | 158 const float *v1 = header->v[1]->data[pos]; local in function:cull_tri 161 /* edge vectors: e = v0 - v2, f = v1 - v2 */ 164 const float fx = v1[0] - v2[0]; 165 const float fy = v1[1] - v2[1];
|
| H A D | draw_pipe_offset.c | 75 float *v1 = header->v[1]->data[pos]; local in function:do_offset_tri 78 /* edge vectors e = v0 - v2, f = v1 - v2 */ 82 float fx = v1[0] - v2[0]; 83 float fy = v1[1] - v2[1]; 84 float fz = v1[2] - v2[2]; 100 maxz.f = MAX3(v0[2], v1[2], v2[2]); 124 v1[2] = CLAMP(v1[2] + zoffset, 0.0f, 1.0f);
|
| H A D | draw_pipe_stipple.c | 66 * between 'v0' and 'v1'. 74 const struct vertex_header *v1) 80 const float *val1 = v1->data[attr]; 125 struct vertex_header *v1 = header->v[1]; local in function:stipple_line 128 const float *pos1 = v1->data[pos]; 70 screen_interp(struct draw_context * draw,struct vertex_header * dst,float t,const struct vertex_header * v0,const struct vertex_header * v1) argument
|
| H A D | draw_pipe_unfilled.c | 102 struct vertex_header *v1) 108 tmp.v[1] = v1; 117 struct vertex_header *v1 = header->v[1]; local in function:points 124 if ((header->flags & DRAW_PIPE_EDGE_FLAG_1) && v1->edgeflag) 125 point(stage, header, v1); 135 struct vertex_header *v1 = header->v[1]; local in function:lines 154 line(stage, header, v0, v1); 155 if ((header->flags & DRAW_PIPE_EDGE_FLAG_1) && v1->edgeflag) 156 line(stage, header, v1, v2); 99 line(struct draw_stage * stage,struct prim_header * header,struct vertex_header * v0,struct vertex_header * v1) argument
|
| H A D | draw_pipe_wide_line.c | 57 struct vertex_header *v1 = dup_vert(stage, header->v[0], 1); local in function:wideline_line 62 float *pos1 = v1->data[pos]; 136 tri.v[2] = v1;
|
| H A D | draw_pipe_wide_point.c | 137 struct vertex_header *v1 = dup_vert(stage, header->v[0], 1); local in function:widepoint_point 142 float *pos1 = v1->data[pos]; 178 set_texcoords( wide, v1, tex01 ); 191 tri.v[2] = v1;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_arit.c | 1450 LLVMValueRef v1, 1460 assert(lp_check_value(bld->type, v1)); 1462 delta = lp_build_sub(bld, v1, v0); 1546 LLVMValueRef v1, 1554 assert(lp_check_value(type, v1)); 1578 lp_build_unpack2_native(bld->gallivm, type, wide_type, v1, &v1l, &v1h); 1591 res = lp_build_lerp_simple(bld, x, v0, v1, flags); 1614 LLVMValueRef v1 = lp_build_lerp(bld, x, v10, v11, flags); local in function:lp_build_lerp_2d 1615 return lp_build_lerp(bld, y, v0, v1, flags); 1635 LLVMValueRef v1 local in function:lp_build_lerp_3d 1447 lp_build_lerp_simple(struct lp_build_context * bld,LLVMValueRef x,LLVMValueRef v0,LLVMValueRef v1,unsigned flags) argument 1543 lp_build_lerp(struct lp_build_context * bld,LLVMValueRef x,LLVMValueRef v0,LLVMValueRef v1,unsigned flags) argument [all...] |
| H A D | lp_bld_arit.h | 141 LLVMValueRef v1,
|
| H A D | lp_bld_format_s3tc.c | 466 LLVMValueRef v1) 477 intrargs[1] = v1; 495 v1 = LLVMBuildZExt(builder, v1, vec_type_ext, ""); 496 res = LLVMBuildAdd(builder, v0, v1, ""); 505 * Calculate 1/3(v1-v0) + v0 506 * and 2*1/3(v1-v0) + v0 511 LLVMValueRef v1, 524 assert(lp_check_value(type, v1)); 534 lp_build_unpack2(gallivm, type, i16_type, v1, 464 lp_build_pavgb(struct lp_build_context * bld8,LLVMValueRef v0,LLVMValueRef v1) argument 509 lp_build_lerp23(struct lp_build_context * bld,LLVMValueRef v0,LLVMValueRef v1,LLVMValueRef * res0,LLVMValueRef * res1) argument 1176 LLVMValueRef x, mul, delta, res, v0, v1, elems[8]; local in function:lp_build_lerp23_single 1322 LLVMValueRef v01, v0, v1, vhalf; local in function:s3tc_decode_block_dxt1 [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/indices/ |
| H A D | u_indices_gen.py | 123 def line( intype, outtype, ptr, v0, v1 ): 125 print(' (' + ptr + ')[1] = ' + vert( intype, outtype, v1 ) + ';') 127 def tri( intype, outtype, ptr, v0, v1, v2 ): 129 print(' (' + ptr + ')[1] = ' + vert( intype, outtype, v1 ) + ';') 132 def lineadj( intype, outtype, ptr, v0, v1, v2, v3 ): 134 print(' (' + ptr + ')[1] = ' + vert( intype, outtype, v1 ) + ';') 138 def triadj( intype, outtype, ptr, v0, v1, v2, v3, v4, v5 ): 140 print(' (' + ptr + ')[1] = ' + vert( intype, outtype, v1 ) + ';') 149 def do_line( intype, outtype, ptr, v0, v1, inpv, outpv ): 151 line( intype, outtype, ptr, v0, v1 ) [all...] |