/external/mesa3d/src/mesa/tnl/ |
H A D | t_vertex.c | 40 static GLboolean match_fastpath( struct tnl_clipspace *vtx, argument 45 if (vtx->attr_count != fp->attr_count) 48 for (j = 0; j < vtx->attr_count; j++) 49 if (vtx->attr[j].format != fp->attr[j].format || 50 vtx->attr[j].inputsize != fp->attr[j].size || 51 vtx->attr[j].vertoffset != fp->attr[j].offset) 55 if (vtx->vertex_size != fp->vertex_size) 58 for (j = 0; j < vtx->attr_count; j++) 59 if (vtx->attr[j].inputstride != fp->attr[j].stride) 66 static GLboolean search_fastpath_emit( struct tnl_clipspace *vtx ) 80 _tnl_register_fastpath( struct tnl_clipspace *vtx, GLboolean match_strides ) argument 122 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 168 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 185 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 213 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 221 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 233 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 264 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 280 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 289 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 308 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 381 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 391 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 399 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 414 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 448 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 463 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 482 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 505 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 556 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local [all...] |
H A D | t_vertex_generic.c | 873 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); \ 874 struct tnl_clipspace_attr *a = vtx->attr; \ 877 for (i = 0 ; i < count ; i++, v += vtx->vertex_size) { \ 934 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 940 switch (vtx->attr_count) { 942 if (vtx->attr[0].emit == insert_3f_viewport_3) { 943 if (vtx->attr[1].emit == insert_4ub_4f_bgra_4) 945 else if (vtx->attr[1].emit == insert_4ub_4f_rgba_4) 948 else if (vtx->attr[0].emit == insert_3f_3 && 949 vtx 994 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 1017 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 1063 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local [all...] |
H A D | t_vertex_sse.c | 309 struct tnl_clipspace *vtx = GET_VERTEX_STATE(p->ctx); local 310 struct x86_reg ptr_to_src = x86_make_disp(vtxREG, get_offset(vtx, &a->inputptr)); 323 struct tnl_clipspace *vtx = GET_VERTEX_STATE(p->ctx); local 324 struct x86_reg ptr_to_src = x86_make_disp(vtxREG, get_offset(vtx, &a->inputptr)); 348 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 378 /* Dereference ctx to get tnl, then vtx: 387 if (vtx->need_viewport) { 388 sse_movups(&p->func, vp0, x86_make_disp(vtxESI, get_offset(vtx, &vtx->vp_scale[0]))); 389 sse_movups(&p->func, vp1, x86_make_disp(vtxESI, get_offset(vtx, 644 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local [all...] |
/external/mesa3d/src/mesa/vbo/ |
H A D | vbo_exec_draw.c | 45 GLuint count = exec->vtx.vert_count; 51 exec->vtx.prim_count, 52 exec->vtx.vertex_size); 54 for (i = 0 ; i < exec->vtx.prim_count ; i++) { 55 struct _mesa_prim *prim = &exec->vtx.prim[i]; 79 struct _mesa_prim *last_prim = &exec->vtx.prim[exec->vtx.prim_count - 1]; 82 const GLuint sz = exec->vtx.vertex_size; 83 fi_type *dst = exec->vtx.copied.buffer; 84 const fi_type *src = exec->vtx [all...] |
H A D | vbo_exec_api.c | 67 if (exec->vtx.prim_count == 0) { 68 exec->vtx.copied.nr = 0; 69 exec->vtx.vert_count = 0; 70 exec->vtx.buffer_ptr = exec->vtx.buffer_map; 73 struct _mesa_prim *last_prim = &exec->vtx.prim[exec->vtx.prim_count - 1]; 78 last_prim->count = exec->vtx.vert_count - last_prim->start; 101 if (exec->vtx.vert_count) 104 exec->vtx [all...] |
H A D | vbo_context.h | 132 ctx->Array._DrawArrays = vbo->exec.vtx.inputs; 214 unsigned n = (VBO_VERT_BUFFER_SIZE - exec->vtx.buffer_used) / 215 (exec->vtx.vertex_size * sizeof(GLfloat));
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fShaderIndexingTests.cpp | 224 std::ostringstream vtx; local 225 vtx << "#version 300 es\n"; 226 vtx << "in highp vec4 a_position;\n"; 227 vtx << "in highp vec4 a_coords;\n"; 229 vtx << "uniform mediump int ui_zero, ui_one, ui_two, ui_three;\n"; 231 vtx << "uniform mediump int ui_four;\n"; 232 vtx << "out ${PRECISION} ${VAR_TYPE} var[${ARRAY_LEN}];\n"; 233 vtx << "\n"; 234 vtx << "void main()\n"; 235 vtx << "{\ 339 std::ostringstream vtx; local 445 std::ostringstream vtx; local 605 std::ostringstream vtx; local 805 std::ostringstream vtx; local [all...] |
H A D | es3fShaderLoopTests.cpp | 246 std::ostringstream vtx; local 248 std::ostringstream& op = isVertexCase ? vtx : frag; 250 vtx << "#version 300 es\n"; 253 vtx << "in highp vec4 a_position;\n"; 254 vtx << "in highp vec4 a_coords;\n"; 258 vtx << "in mediump float a_one;\n"; 262 vtx << "out mediump vec3 v_color;\n"; 267 vtx << "out mediump vec4 v_coords;\n"; 272 vtx << "out mediump float v_one;\n"; 295 vtx << "\ 444 std::ostringstream vtx; local [all...] |
H A D | es3fShaderSwitchTests.cpp | 91 std::ostringstream vtx; local 93 std::ostringstream& op = isVertex ? vtx : frag; 95 vtx << "#version 300 es\n" 103 vtx << "out mediump vec4 v_color;\n"; 108 vtx << "out highp vec4 v_coords;\n"; 115 vtx << "\n" 138 vtx << " v_color = vec4(res, 1.0);\n"; 143 vtx << " v_coords = a_coords;\n"; 147 vtx << "}\n"; 150 return new ShaderSwitchCase(context, name, desc, isVertex, vtx [all...] |
/external/deqp/modules/gles2/functional/ |
H A D | es2fShaderIndexingTests.cpp | 253 std::ostringstream vtx; local 254 vtx << "attribute highp vec4 a_position;\n"; 255 vtx << "attribute highp vec4 a_coords;\n"; 257 vtx << "uniform mediump int ui_zero, ui_one, ui_two, ui_three;\n"; 259 vtx << "uniform mediump int ui_four;\n"; 260 vtx << "varying ${PRECISION} ${VAR_TYPE} var[${ARRAY_LEN}];\n"; 261 vtx << "\n"; 262 vtx << "void main()\n"; 263 vtx << "{\n"; 264 vtx << " gl_Positio 376 std::ostringstream vtx; local 486 std::ostringstream vtx; local 650 std::ostringstream vtx; local 836 std::ostringstream vtx; local [all...] |
H A D | es2fShaderAlgorithmTests.cpp | 75 std::ostringstream vtx; local 77 std::ostringstream& op = isVertexCase ? vtx : frag; 79 vtx << "attribute highp vec4 a_position;\n"; 80 vtx << "attribute highp vec4 a_unitCoords;\n"; 84 vtx << "varying mediump vec3 v_color;\n"; 89 vtx << "varying mediump vec4 v_coords;\n"; 95 vtx << "\n"; 96 vtx << "void main()\n"; 97 vtx << "{\n"; 98 vtx << " gl_Positio [all...] |
H A D | es2fShaderLoopTests.cpp | 278 std::ostringstream vtx; local 280 std::ostringstream& op = isVertexCase ? vtx : frag; 282 vtx << "attribute highp vec4 a_position;\n"; 283 vtx << "attribute highp vec4 a_coords;\n"; 286 vtx << "attribute mediump float a_one;\n"; 290 vtx << "varying mediump vec3 v_color;\n"; 295 vtx << "varying mediump vec4 v_coords;\n"; 300 vtx << "varying mediump float v_one;\n"; 323 vtx << "\n"; 324 vtx << "voi 486 std::ostringstream vtx; local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderIndexingTests.cpp | 261 std::ostringstream vtx; local 262 vtx << "#version 310 es\n"; 263 vtx << "layout(location = 0) in highp vec4 a_position;\n"; 264 vtx << "layout(location = 1) in highp vec4 a_coords;\n"; 267 vtx << "layout(std140, binding = 0) uniform something0 { mediump int ui_zero; };\n"; 268 vtx << "layout(std140, binding = 1) uniform something1 { mediump int ui_one; };\n"; 269 vtx << "layout(std140, binding = 2) uniform something2 { mediump int ui_two; };\n"; 270 vtx << "layout(std140, binding = 3) uniform something3 { mediump int ui_three; };\n"; 273 vtx << "layout(std140, binding = 4) uniform something { mediump int ui_four; };\n"; 274 vtx << "layou 391 std::ostringstream vtx; local 508 std::ostringstream vtx; local 679 std::ostringstream vtx; local 884 std::ostringstream vtx; local [all...] |
H A D | vktShaderRenderLoopTests.cpp | 308 std::ostringstream vtx; local 310 std::ostringstream& op = isVertexCase ? vtx : frag; 312 vtx << "#version 310 es\n"; 315 vtx << "layout(location=0) in highp vec4 a_position;\n"; 316 vtx << "layout(location=1) in highp vec4 a_coords;\n"; 320 vtx << "layout(location=3) in mediump float a_one;\n"; 324 vtx << "layout(location=0) out mediump vec3 v_color;\n"; 329 vtx << "layout(location=0) out mediump vec4 v_coords;\n"; 334 vtx << "layout(location=1) out mediump float v_one;\n"; 374 vtx << "\ 530 std::ostringstream vtx; local [all...] |
H A D | vktShaderRenderSwitchTests.cpp | 108 std::ostringstream vtx; local 110 std::ostringstream& op = isVertex ? vtx : frag; 112 vtx << "#version 310 es\n" 120 vtx << "layout(location = 0) out mediump vec4 v_color;\n"; 125 vtx << "layout(location = 0) out highp vec4 v_coords;\n"; 132 vtx << "\n" 155 vtx << " v_color = vec4(res, 1.0);\n"; 160 vtx << " v_coords = a_coords;\n"; 164 vtx << "}\n"; 167 return de::MovePtr<ShaderSwitchCase>(new ShaderSwitchCase(testCtx, name, desc, isVertex, vtx [all...] |
/external/deqp/external/openglcts/modules/common/ |
H A D | glcShaderIndexingTests.cpp | 251 std::ostringstream vtx; local 252 vtx << glu::getGLSLVersionDeclaration(glslVersion) << "\n"; 253 vtx << "in highp vec4 a_position;\n"; 254 vtx << "in highp vec4 a_coords;\n"; 256 vtx << "uniform mediump int ui_zero, ui_one, ui_two, ui_three;\n"; 258 vtx << "uniform mediump int ui_four;\n"; 259 vtx << "out ${PRECISION} ${VAR_TYPE} var[${ARRAY_LEN}];\n"; 260 vtx << "\n"; 261 vtx << "void main()\n"; 262 vtx << "{\ 372 std::ostringstream vtx; local 484 std::ostringstream vtx; local 659 std::ostringstream vtx; local 925 std::ostringstream vtx; local [all...] |
H A D | glcShaderLoopTests.cpp | 224 std::ostringstream vtx; local 226 std::ostringstream& op = isVertexCase ? vtx : frag; 228 vtx << getGLSLVersionDeclaration(glslVersion) << "\n"; 231 vtx << "in highp vec4 a_position;\n"; 232 vtx << "in highp vec4 a_coords;\n"; 236 vtx << "in mediump float a_one;\n"; 240 vtx << "out mediump vec3 v_color;\n"; 245 vtx << "out mediump vec4 v_coords;\n"; 250 vtx << "out mediump float v_one;\n"; 273 vtx << "\ 428 std::ostringstream vtx; local [all...] |
H A D | glcShaderSwitchTests.cpp | 101 std::ostringstream vtx; local 103 std::ostringstream& op = isVertex ? vtx : frag; 105 vtx << glu::getGLSLVersionDeclaration(glslVersion) << "\n" 113 vtx << "out mediump vec4 v_color;\n"; 118 vtx << "out highp vec4 v_coords;\n"; 125 vtx << "\n" 150 vtx << " v_color = vec4(res, 1.0);\n"; 155 vtx << " v_coords = a_coords;\n"; 159 vtx << "}\n"; 162 return new ShaderSwitchCase(context, name, desc, isVertex, vtx [all...] |
/external/deqp/modules/gles3/performance/ |
H A D | es3pShaderControlStatementTests.cpp | 190 std::ostringstream vtx; local 192 std::ostringstream& op = isVertexCase ? vtx : frag; 194 vtx << "#version 300 es\n"; 195 vtx << "in highp vec4 a_position;\n"; // Position attribute. 196 vtx << "in mediump vec4 a_value0;\n"; // Input for workload calculations of "true" branch. 197 vtx << "in mediump vec4 a_value1;\n"; // Input for workload calculations of "false" branch. 204 vtx << "in mediump float a_compareValue;\n"; 211 vtx << "out mediump vec4 v_color;\n"; 216 vtx << "out mediump vec4 v_value0;\n"; 217 vtx << "ou 470 std::ostringstream vtx; local 702 std::ostringstream vtx; local [all...] |
/external/deqp/modules/gles2/performance/ |
H A D | es2pShaderControlStatementTests.cpp | 190 std::ostringstream vtx; local 192 std::ostringstream& op = isVertexCase ? vtx : frag; 194 vtx << "attribute highp vec4 a_position;\n"; // Position attribute. 195 vtx << "attribute mediump vec4 a_value0;\n"; // Input for workload calculations of "true" branch. 196 vtx << "attribute mediump vec4 a_value1;\n"; // Input for workload calculations of "false" branch. 200 vtx << "attribute mediump float a_compareValue;\n"; 207 vtx << "varying mediump vec4 v_color;\n"; 212 vtx << "varying mediump vec4 v_value0;\n"; 213 vtx << "varying mediump vec4 v_value1;\n"; 219 vtx << "varyin 466 std::ostringstream vtx; local 694 std::ostringstream vtx; local [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
H A D | disasm-a2xx.c | 327 instr_fetch_vtx_t *vtx = &fetch->vtx; local 329 if (vtx->pred_select) { 333 printf(vtx->pred_condition ? "EQ" : "NE"); 336 print_fetch_dst(vtx->dst_reg, vtx->dst_swiz); 337 printf(" = R%u.", vtx->src_reg); 338 printf("%c", chan_names[vtx->src_swiz & 0x3]); 339 if (fetch_types[vtx->format].name) { 340 printf(" %s", fetch_types[vtx [all...] |
H A D | fd2_draw.c | 59 struct fd_vertex_stateobj *vtx = ctx->vtx.vtx; local 60 struct fd_vertexbuf_stateobj *vertexbuf = &ctx->vtx.vertexbuf; 64 if (!vtx->num_elements) 67 for (i = 0; i < vtx->num_elements; i++) { 68 struct pipe_vertex_element *elem = &vtx->pipe[i]; 79 fd2_emit_vertex_bufs(ctx->batch->draw, 0x78, bufs, vtx->num_elements);
|
H A D | ir-a2xx.c | 294 instr_fetch_vtx_t *vtx = &fetch->vtx; local 301 vtx->src_reg = src_reg->num; 302 vtx->src_swiz = reg_fetch_src_swiz(src_reg, 1); 303 vtx->dst_reg = dst_reg->num; 304 vtx->dst_swiz = reg_fetch_dst_swiz(dst_reg); 305 vtx->must_be_one = 1; 306 vtx->const_index = instr->fetch.const_idx; 307 vtx->const_index_sel = instr->fetch.const_idx_sel; 308 vtx [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
H A D | r200_maos_arrays.c | 189 if (vfmt0 != rmesa->hw.vtx.cmd[VTX_VTXFMT_0] || 190 vfmt1 != rmesa->hw.vtx.cmd[VTX_VTXFMT_1]) { 191 R200_STATECHANGE( rmesa, vtx ); 192 rmesa->hw.vtx.cmd[VTX_VTXFMT_0] = vfmt0; 193 rmesa->hw.vtx.cmd[VTX_VTXFMT_1] = vfmt1;
|
/external/deqp/modules/internal/ |
H A D | ditFrameworkTests.cpp | 604 c.vtx[0] = tcu::Vec4(-1.0f, -1.0f, 0.5f, 1.0f); 605 c.vtx[1] = tcu::Vec4(-1.0f, +1.0f, 0.5f, 1.0f); 606 c.vtx[2] = tcu::Vec4(+1.0f, -1.0f, 0.5f, 1.0f); 614 c.vtx[0] = tcu::Vec4(-1.0f, +1.0f, 0.5f, 1.0f); 615 c.vtx[1] = tcu::Vec4(+1.0f, -1.0f, 0.5f, 1.0f); 616 c.vtx[2] = tcu::Vec4(+1.0f, +1.0f, 0.5f, 1.0f); 623 c.vtx[0] = tcu::Vec4(-1.0f, -1.0f, 0.5f, 1.0f); 624 c.vtx[1] = tcu::Vec4(-1.0f, +1.0f, 0.5f, 1.0f); 625 c.vtx[2] = tcu::Vec4(+1.0f, -1.0f, 0.5f, 1.0f); 632 c.vtx[ 692 tcu::Vec4 vtx[3]; member in struct:dit::__anon5540::ConstantInterpolationTest::SubCase [all...] |