HomeSort by relevance Sort by last modified time
    Searched refs:vtx (Results 1 - 25 of 123) sorted by null

1 2 3 4 5

  /external/mesa3d/src/mesa/tnl/
t_vertex.c 40 static GLboolean match_fastpath( struct tnl_clipspace *vtx,
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 )
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...]
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->attr[1].emit == insert_4ub_4f_rgba_4)
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...]
  /external/mesa3d/src/mesa/vbo/
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.buffer_map + last_prim->start * sz
    [all...]
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.prim_count = 0
    [all...]
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/
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 << "{\n"
339 std::ostringstream vtx; local
445 std::ostringstream vtx; local
605 std::ostringstream vtx; local
805 std::ostringstream vtx; local
    [all...]
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 << "\n"
444 std::ostringstream vtx; local
    [all...]
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.str().c_str(), frag.str().c_str()
    [all...]
  /external/deqp/modules/gles2/functional/
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_Position = a_position;\n"
376 std::ostringstream vtx; local
486 std::ostringstream vtx; local
650 std::ostringstream vtx; local
836 std::ostringstream vtx; local
    [all...]
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_Position = a_position;\n"
    [all...]
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 << "void main()\n"
486 std::ostringstream vtx; local
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/shaderrender/
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 << "layout(location = 0) out ${PRECISION} ${VAR_TYPE} var[${ARRAY_LEN}];\n"
391 std::ostringstream vtx; local
508 std::ostringstream vtx; local
679 std::ostringstream vtx; local
884 std::ostringstream vtx; local
    [all...]
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 << "\n"
530 std::ostringstream vtx; local
    [all...]
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.str(), frag.str()
    [all...]
  /external/deqp/external/openglcts/modules/common/
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 << "{\n"
372 std::ostringstream vtx; local
484 std::ostringstream vtx; local
659 std::ostringstream vtx; local
925 std::ostringstream vtx; local
    [all...]
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 << "\n"
428 std::ostringstream vtx; local
    [all...]
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.str().c_str(), frag.str().c_str()
    [all...]
  /hardware/libhardware/tests/hwc/
test-arrows.c 47 static GLfloat vtx[2 * 3 * 2]; variable
82 vtx[0] = left;
83 vtx[1] = top;
84 vtx[2] = left;
85 vtx[3] = bottom;
86 vtx[4] = right;
87 vtx[5] = bottom;
89 vtx[6] = right;
90 vtx[7] = bottom;
91 vtx[8] = right
    [all...]
  /external/deqp/modules/gles3/performance/
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 << "out mediump vec4 v_value1;\n"
470 std::ostringstream vtx; local
702 std::ostringstream vtx; local
    [all...]
  /external/deqp/modules/gles2/performance/
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 << "varying mediump float v_compareValue;\n"
466 std::ostringstream vtx; local
694 std::ostringstream vtx; local
    [all...]
  /frameworks/rs/driver/
rsdShaderCache.cpp 74 bool RsdShaderCache::hasArrayUniforms(RsdShader *vtx, RsdShader *frag) {
76 for (uint32_t ct=0; ct < vtx->getUniformCount(); ct++) {
113 RsdShader *vtx = mVertex; local
116 uint32_t vID = vtx->getStateBasedShaderID(rsc);
125 if ((mEntries[ct]->vtx == vID) && (mEntries[ct]->frag == fID)) {
135 ProgramEntry *e = new ProgramEntry(vtx->getAttribCount(),
136 vtx->getUniformCount(),
140 e->vtx = vID;
176 glGetAttribLocation(pgm, vtx->getAttribName(ct).c_str());
177 e->vtxAttrs[ct].name = vtx->getAttribName(ct).c_str()
    [all...]
  /external/mesa3d/src/gallium/drivers/freedreno/a2xx/
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->format].name)
    [all...]
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);
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->format_comp_all = !!instr->fetch.is_signed
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/r200/
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;

Completed in 363 milliseconds

1 2 3 4 5