/third_party/mesa3d/src/mesa/vbo/ |
H A D | vbo_exec_draw.c | 43 GLuint count = exec->vtx.vert_count; in vbo_exec_debug_verts() 49 exec->vtx.prim_count, in vbo_exec_debug_verts() 50 exec->vtx.vertex_size); in vbo_exec_debug_verts() 52 for (i = 0 ; i < exec->vtx.prim_count ; i++) { in vbo_exec_debug_verts() 55 _mesa_lookup_prim_by_nr(exec->vtx.mode[i]), in vbo_exec_debug_verts() 56 exec->vtx.draw[i].start, in vbo_exec_debug_verts() 57 exec->vtx.draw[i].start + exec->vtx.draw[i].count, in vbo_exec_debug_verts() 58 exec->vtx.markers[i].begin ? "BEGIN" : "(wrap)", in vbo_exec_debug_verts() 59 exec->vtx in vbo_exec_debug_verts() [all...] |
H A D | vbo_exec_api.c | 66 if (exec->vtx.prim_count == 0) { in vbo_exec_wrap_buffers() 67 exec->vtx.copied.nr = 0; in vbo_exec_wrap_buffers() 68 exec->vtx.vert_count = 0; in vbo_exec_wrap_buffers() 69 exec->vtx.buffer_ptr = exec->vtx.buffer_map; in vbo_exec_wrap_buffers() 73 unsigned last = exec->vtx.prim_count - 1; in vbo_exec_wrap_buffers() 74 struct pipe_draw_start_count_bias *last_draw = &exec->vtx.draw[last]; in vbo_exec_wrap_buffers() 75 const bool last_begin = exec->vtx.markers[last].begin; in vbo_exec_wrap_buffers() 79 last_draw->count = exec->vtx.vert_count - last_draw->start; in vbo_exec_wrap_buffers() 81 exec->vtx in vbo_exec_wrap_buffers() [all...] |
H A D | vbo_exec_eval.c | 144 COPY_SZ_4V( exec->vtx.attrptr[attr], in vbo_exec_do_EvalCoord1f() 145 exec->vtx.attr[attr].size, in vbo_exec_do_EvalCoord1f() 194 COPY_SZ_4V( exec->vtx.attrptr[attr], in vbo_exec_do_EvalCoord2f() 195 exec->vtx.attr[attr].size, in vbo_exec_do_EvalCoord2f() 233 COPY_SZ_4V( exec->vtx.attrptr[VBO_ATTRIB_NORMAL], in vbo_exec_do_EvalCoord2f() 234 exec->vtx.attr[VBO_ATTRIB_NORMAL].size, in vbo_exec_do_EvalCoord2f() 244 if (exec->vtx.attr[VBO_ATTRIB_POS].size == 4) in vbo_exec_do_EvalCoord2f()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderIndexingTests.cpp | 263 std::ostringstream vtx; in createVaryingArrayCase() local 264 vtx << "#version 310 es\n"; in createVaryingArrayCase() 265 vtx << "layout(location = 0) in highp vec4 a_position;\n"; in createVaryingArrayCase() 266 vtx << "layout(location = 1) in highp vec4 a_coords;\n"; in createVaryingArrayCase() 269 vtx << "layout(std140, binding = 0) uniform something0 { mediump int ui_zero; };\n"; in createVaryingArrayCase() 270 vtx << "layout(std140, binding = 1) uniform something1 { mediump int ui_one; };\n"; in createVaryingArrayCase() 271 vtx << "layout(std140, binding = 2) uniform something2 { mediump int ui_two; };\n"; in createVaryingArrayCase() 272 vtx << "layout(std140, binding = 3) uniform something3 { mediump int ui_three; };\n"; in createVaryingArrayCase() 275 vtx << "layout(std140, binding = 4) uniform something { mediump int ui_four; };\n"; in createVaryingArrayCase() 276 vtx << "layou in createVaryingArrayCase() 392 std::ostringstream vtx; createUniformArrayCase() local 508 std::ostringstream vtx; createTmpArrayCase() local 715 std::ostringstream vtx; createVectorSubscriptCase() local 919 std::ostringstream vtx; createMatrixSubscriptCase() local [all...] |
H A D | vktShaderRenderLoopTests.cpp | 315 std::ostringstream vtx; in createGenericLoopCase() local 317 std::ostringstream& op = isVertexCase ? vtx : frag; in createGenericLoopCase() 319 vtx << "#version 310 es\n"; in createGenericLoopCase() 322 vtx << "layout(location=0) in highp vec4 a_position;\n"; in createGenericLoopCase() 323 vtx << "layout(location=1) in highp vec4 a_coords;\n"; in createGenericLoopCase() 327 vtx << "layout(location=3) in mediump float a_one;\n"; in createGenericLoopCase() 331 vtx << "layout(location=0) out mediump vec3 v_color;\n"; in createGenericLoopCase() 336 vtx << "layout(location=0) out mediump vec4 v_coords;\n"; in createGenericLoopCase() 341 vtx << "layout(location=1) out mediump float v_one;\n"; in createGenericLoopCase() 381 vtx << "\ in createGenericLoopCase() 538 std::ostringstream vtx; createSpecialLoopCase() local [all...] |
H A D | vktShaderRenderSwitchTests.cpp | 106 std::ostringstream vtx; in makeSwitchCase() local 108 std::ostringstream& op = isVertex ? vtx : frag; in makeSwitchCase() 110 vtx << "#version 310 es\n" in makeSwitchCase() 118 vtx << "layout(location = 0) out mediump vec4 v_color;\n"; in makeSwitchCase() 123 vtx << "layout(location = 0) out highp vec4 v_coords;\n"; in makeSwitchCase() 130 vtx << "\n" in makeSwitchCase() 153 vtx << " v_color = vec4(res, 1.0);\n"; in makeSwitchCase() 158 vtx << " v_coords = a_coords;\n"; in makeSwitchCase() 162 vtx << "}\n"; in makeSwitchCase() 165 return de::MovePtr<ShaderSwitchCase>(new ShaderSwitchCase(testCtx, name, isVertex, vtx in makeSwitchCase() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A D | vktShaderRenderIndexingTests.cpp | 266 std::ostringstream vtx; in createVaryingArrayCase() local 267 vtx << "#version 310 es\n"; in createVaryingArrayCase() 268 vtx << "layout(location = 0) in highp vec4 a_position;\n"; in createVaryingArrayCase() 269 vtx << "layout(location = 1) in highp vec4 a_coords;\n"; in createVaryingArrayCase() 272 vtx << "layout(std140, binding = 0) uniform something0 { mediump int ui_zero; };\n"; in createVaryingArrayCase() 273 vtx << "layout(std140, binding = 1) uniform something1 { mediump int ui_one; };\n"; in createVaryingArrayCase() 274 vtx << "layout(std140, binding = 2) uniform something2 { mediump int ui_two; };\n"; in createVaryingArrayCase() 275 vtx << "layout(std140, binding = 3) uniform something3 { mediump int ui_three; };\n"; in createVaryingArrayCase() 278 vtx << "layout(std140, binding = 4) uniform something { mediump int ui_four; };\n"; in createVaryingArrayCase() 279 vtx << "layou in createVaryingArrayCase() 396 std::ostringstream vtx; createUniformArrayCase() local 513 std::ostringstream vtx; createTmpArrayCase() local 721 std::ostringstream vtx; createVectorSubscriptCase() local 926 std::ostringstream vtx; createMatrixSubscriptCase() local [all...] |
H A D | vktShaderRenderLoopTests.cpp | 317 std::ostringstream vtx; in createGenericLoopCase() local 319 std::ostringstream& op = isVertexCase ? vtx : frag; in createGenericLoopCase() 321 vtx << "#version 310 es\n"; in createGenericLoopCase() 324 vtx << "layout(location=0) in highp vec4 a_position;\n"; in createGenericLoopCase() 325 vtx << "layout(location=1) in highp vec4 a_coords;\n"; in createGenericLoopCase() 329 vtx << "layout(location=3) in mediump float a_one;\n"; in createGenericLoopCase() 333 vtx << "layout(location=0) out mediump vec3 v_color;\n"; in createGenericLoopCase() 338 vtx << "layout(location=0) out mediump vec4 v_coords;\n"; in createGenericLoopCase() 343 vtx << "layout(location=1) out mediump float v_one;\n"; in createGenericLoopCase() 383 vtx << "\ in createGenericLoopCase() 541 std::ostringstream vtx; createSpecialLoopCase() local [all...] |
H A D | vktShaderRenderSwitchTests.cpp | 108 std::ostringstream vtx; in makeSwitchCase() local 110 std::ostringstream& op = isVertex ? vtx : frag; in makeSwitchCase() 112 vtx << "#version 310 es\n" in makeSwitchCase() 120 vtx << "layout(location = 0) out mediump vec4 v_color;\n"; in makeSwitchCase() 125 vtx << "layout(location = 0) out highp vec4 v_coords;\n"; in makeSwitchCase() 132 vtx << "\n" in makeSwitchCase() 155 vtx << " v_color = vec4(res, 1.0);\n"; in makeSwitchCase() 160 vtx << " v_coords = a_coords;\n"; in makeSwitchCase() 164 vtx << "}\n"; in makeSwitchCase() 167 return de::MovePtr<ShaderSwitchCase>(new ShaderSwitchCase(testCtx, name, desc, isVertex, vtx in makeSwitchCase() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcShaderIndexingTests.cpp | 251 std::ostringstream vtx; in createVaryingArrayCase() local 252 vtx << glu::getGLSLVersionDeclaration(glslVersion) << "\n"; in createVaryingArrayCase() 253 vtx << "in highp vec4 a_position;\n"; in createVaryingArrayCase() 254 vtx << "in highp vec4 a_coords;\n"; in createVaryingArrayCase() 256 vtx << "uniform mediump int ui_zero, ui_one, ui_two, ui_three;\n"; in createVaryingArrayCase() 258 vtx << "uniform mediump int ui_four;\n"; in createVaryingArrayCase() 259 vtx << "out ${PRECISION} ${VAR_TYPE} var[${ARRAY_LEN}];\n"; in createVaryingArrayCase() 260 vtx << "\n"; in createVaryingArrayCase() 261 vtx << "void main()\n"; in createVaryingArrayCase() 262 vtx << "{\ in createVaryingArrayCase() 372 std::ostringstream vtx; createUniformArrayCase() local 484 std::ostringstream vtx; createTmpArrayCase() local 638 std::string vtx = glu::getGLSLVersionDeclaration(glslVersion) + std::string("\\n" createTmpArrayVertexIdCase() local 702 std::ostringstream vtx; createVectorSubscriptCase() local 968 std::ostringstream vtx; createMatrixSubscriptCase() local [all...] |
H A D | glcShaderLoopTests.cpp | 224 std::ostringstream vtx; in createGenericLoopCase() local 226 std::ostringstream& op = isVertexCase ? vtx : frag; in createGenericLoopCase() 228 vtx << getGLSLVersionDeclaration(glslVersion) << "\n"; in createGenericLoopCase() 231 vtx << "in highp vec4 a_position;\n"; in createGenericLoopCase() 232 vtx << "in highp vec4 a_coords;\n"; in createGenericLoopCase() 236 vtx << "in mediump float a_one;\n"; in createGenericLoopCase() 240 vtx << "out mediump vec3 v_color;\n"; in createGenericLoopCase() 245 vtx << "out mediump vec4 v_coords;\n"; in createGenericLoopCase() 250 vtx << "out mediump float v_one;\n"; in createGenericLoopCase() 273 vtx << "\ in createGenericLoopCase() 428 std::ostringstream vtx; createSpecialLoopCase() local [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fShaderIndexingTests.cpp | 224 std::ostringstream vtx; in createVaryingArrayCase() local 225 vtx << "#version 300 es\n"; in createVaryingArrayCase() 226 vtx << "in highp vec4 a_position;\n"; in createVaryingArrayCase() 227 vtx << "in highp vec4 a_coords;\n"; in createVaryingArrayCase() 229 vtx << "uniform mediump int ui_zero, ui_one, ui_two, ui_three;\n"; in createVaryingArrayCase() 231 vtx << "uniform mediump int ui_four;\n"; in createVaryingArrayCase() 232 vtx << "out ${PRECISION} ${VAR_TYPE} var[${ARRAY_LEN}];\n"; in createVaryingArrayCase() 233 vtx << "\n"; in createVaryingArrayCase() 234 vtx << "void main()\n"; in createVaryingArrayCase() 235 vtx << "{\ in createVaryingArrayCase() 339 std::ostringstream vtx; createUniformArrayCase() local 445 std::ostringstream vtx; createTmpArrayCase() local 605 std::ostringstream vtx; createVectorSubscriptCase() local 805 std::ostringstream vtx; createMatrixSubscriptCase() local [all...] |
H A D | es3fShaderLoopTests.cpp | 246 std::ostringstream vtx; in createGenericLoopCase() local 248 std::ostringstream& op = isVertexCase ? vtx : frag; in createGenericLoopCase() 250 vtx << "#version 300 es\n"; in createGenericLoopCase() 253 vtx << "in highp vec4 a_position;\n"; in createGenericLoopCase() 254 vtx << "in highp vec4 a_coords;\n"; in createGenericLoopCase() 258 vtx << "in mediump float a_one;\n"; in createGenericLoopCase() 262 vtx << "out mediump vec3 v_color;\n"; in createGenericLoopCase() 267 vtx << "out mediump vec4 v_coords;\n"; in createGenericLoopCase() 272 vtx << "out mediump float v_one;\n"; in createGenericLoopCase() 295 vtx << "\ in createGenericLoopCase() 444 std::ostringstream vtx; createSpecialLoopCase() local [all...] |
H A D | es3fShaderSwitchTests.cpp | 91 std::ostringstream vtx; in makeSwitchCase() local 93 std::ostringstream& op = isVertex ? vtx : frag; in makeSwitchCase() 95 vtx << "#version 300 es\n" in makeSwitchCase() 103 vtx << "out mediump vec4 v_color;\n"; in makeSwitchCase() 108 vtx << "out highp vec4 v_coords;\n"; in makeSwitchCase() 115 vtx << "\n" in makeSwitchCase() 138 vtx << " v_color = vec4(res, 1.0);\n"; in makeSwitchCase() 143 vtx << " v_coords = a_coords;\n"; in makeSwitchCase() 147 vtx << "}\n"; in makeSwitchCase() 150 return new ShaderSwitchCase(context, name, desc, isVertex, vtx in makeSwitchCase() [all...] |
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fShaderIndexingTests.cpp | 258 std::ostringstream vtx; in createVaryingArrayCase() local 259 vtx << "attribute highp vec4 a_position;\n"; in createVaryingArrayCase() 260 vtx << "attribute highp vec4 a_coords;\n"; in createVaryingArrayCase() 262 vtx << "uniform mediump int ui_zero, ui_one, ui_two, ui_three;\n"; in createVaryingArrayCase() 264 vtx << "uniform mediump int ui_four;\n"; in createVaryingArrayCase() 265 vtx << "varying ${PRECISION} ${VAR_TYPE} var[${ARRAY_LEN}];\n"; in createVaryingArrayCase() 266 vtx << "\n"; in createVaryingArrayCase() 267 vtx << "void main()\n"; in createVaryingArrayCase() 268 vtx << "{\n"; in createVaryingArrayCase() 269 vtx << " gl_Positio in createVaryingArrayCase() 381 std::ostringstream vtx; createUniformArrayCase() local 491 std::ostringstream vtx; createTmpArrayCase() local 695 std::ostringstream vtx; createVectorSubscriptCase() local 881 std::ostringstream vtx; createMatrixSubscriptCase() local [all...] |
H A D | es2fShaderLoopTests.cpp | 278 std::ostringstream vtx; in createGenericLoopCase() local 280 std::ostringstream& op = isVertexCase ? vtx : frag; in createGenericLoopCase() 282 vtx << "attribute highp vec4 a_position;\n"; in createGenericLoopCase() 283 vtx << "attribute highp vec4 a_coords;\n"; in createGenericLoopCase() 286 vtx << "attribute mediump float a_one;\n"; in createGenericLoopCase() 290 vtx << "varying mediump vec3 v_color;\n"; in createGenericLoopCase() 295 vtx << "varying mediump vec4 v_coords;\n"; in createGenericLoopCase() 300 vtx << "varying mediump float v_one;\n"; in createGenericLoopCase() 323 vtx << "\n"; in createGenericLoopCase() 324 vtx << "voi in createGenericLoopCase() 486 std::ostringstream vtx; createSpecialLoopCase() local [all...] |
H A D | es2fShaderAlgorithmTests.cpp | 75 std::ostringstream vtx; in createExpressionCase() local 77 std::ostringstream& op = isVertexCase ? vtx : frag; in createExpressionCase() 79 vtx << "attribute highp vec4 a_position;\n"; in createExpressionCase() 80 vtx << "attribute highp vec4 a_unitCoords;\n"; in createExpressionCase() 84 vtx << "varying mediump vec3 v_color;\n"; in createExpressionCase() 89 vtx << "varying mediump vec4 v_coords;\n"; in createExpressionCase() 95 vtx << "\n"; in createExpressionCase() 96 vtx << "void main()\n"; in createExpressionCase() 97 vtx << "{\n"; in createExpressionCase() 98 vtx << " gl_Positio in createExpressionCase() [all...] |
/third_party/vk-gl-cts/modules/gles3/performance/ |
H A D | es3pShaderControlStatementTests.cpp | 190 std::ostringstream vtx; in init() local 192 std::ostringstream& op = isVertexCase ? vtx : frag; in init() 194 vtx << "#version 300 es\n"; in init() 195 vtx << "in highp vec4 a_position;\n"; // Position attribute. in init() 196 vtx << "in mediump vec4 a_value0;\n"; // Input for workload calculations of "true" branch. in init() 197 vtx << "in mediump vec4 a_value1;\n"; // Input for workload calculations of "false" branch. in init() 204 vtx << "in mediump float a_compareValue;\n"; in init() 211 vtx << "out mediump vec4 v_color;\n"; in init() 216 vtx << "out mediump vec4 v_value0;\n"; in init() 217 vtx << "ou in init() 470 std::ostringstream vtx; init() local 702 std::ostringstream vtx; init() local [all...] |
/third_party/vk-gl-cts/modules/gles2/performance/ |
H A D | es2pShaderControlStatementTests.cpp | 190 std::ostringstream vtx; in init() local 192 std::ostringstream& op = isVertexCase ? vtx : frag; in init() 194 vtx << "attribute highp vec4 a_position;\n"; // Position attribute. in init() 195 vtx << "attribute mediump vec4 a_value0;\n"; // Input for workload calculations of "true" branch. in init() 196 vtx << "attribute mediump vec4 a_value1;\n"; // Input for workload calculations of "false" branch. in init() 200 vtx << "attribute mediump float a_compareValue;\n"; in init() 207 vtx << "varying mediump vec4 v_color;\n"; in init() 212 vtx << "varying mediump vec4 v_value0;\n"; in init() 213 vtx << "varying mediump vec4 v_value1;\n"; in init() 219 vtx << "varyin in init() 466 std::ostringstream vtx; init() local 694 std::ostringstream vtx; init() local [all...] |
/third_party/mesa3d/src/freedreno/ir2/ |
H A D | disasm-a2xx.c | 344 instr_fetch_vtx_t *vtx = &fetch->vtx; in print_fetch_vtx() local 346 if (vtx->pred_select) { in print_fetch_vtx() 350 printf(vtx->pred_condition ? "EQ" : "NE"); in print_fetch_vtx() 353 print_fetch_dst(vtx->dst_reg, vtx->dst_swiz); in print_fetch_vtx() 354 printf(" = R%u.", vtx->src_reg); in print_fetch_vtx() 355 printf("%c", chan_names[vtx->src_swiz & 0x3]); in print_fetch_vtx() 356 if (fetch_types[vtx->format].name) { in print_fetch_vtx() 357 printf(" %s", fetch_types[vtx in print_fetch_vtx() [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_asm.c | 59 list_inithead(&cf->vtx); in r600_bytecode_cf() 77 struct r600_bytecode_vtx *vtx = CALLOC_STRUCT(r600_bytecode_vtx); in r600_bytecode_vtx() local 79 if (!vtx) in r600_bytecode_vtx() 81 list_inithead(&vtx->list); in r600_bytecode_vtx() 82 return vtx; in r600_bytecode_vtx() 1291 /* cf can contains only alu or only vtx or only tex */ in r600_bytecode_add_alu_type() 1448 static int r600_bytecode_add_vtx_internal(struct r600_bytecode *bc, const struct r600_bytecode_vtx *vtx, in r600_bytecode_add_vtx_internal() argument 1456 memcpy(nvtx, vtx, sizeof(struct r600_bytecode_vtx)); in r600_bytecode_add_vtx_internal() 1460 if (vtx->buffer_index_mode) in r600_bytecode_add_vtx_internal() 1461 egcm_load_index_reg(bc, vtx in r600_bytecode_add_vtx_internal() 1506 r600_bytecode_add_vtx(struct r600_bytecode *bc, const struct r600_bytecode_vtx *vtx) r600_bytecode_add_vtx() argument 1511 r600_bytecode_add_vtx_tc(struct r600_bytecode *bc, const struct r600_bytecode_vtx *vtx) r600_bytecode_add_vtx_tc() argument 1635 r600_bytecode_vtx_build(struct r600_bytecode *bc, struct r600_bytecode_vtx *vtx, unsigned id) r600_bytecode_vtx_build() argument 1830 struct r600_bytecode_vtx *vtx; r600_bytecode_build() local 1952 struct r600_bytecode_tex *vtx = NULL, *next_vtx; r600_bytecode_clear() local 2175 struct r600_bytecode_vtx *vtx = NULL; r600_bytecode_disasm() local 2723 struct r600_bytecode_vtx vtx; r600_create_vertex_fetch_shader() local [all...] |
H A D | r600_shader.c | 1436 struct r600_bytecode_vtx vtx; in load_sample_position() local 1441 memset(&vtx, 0, sizeof(struct r600_bytecode_vtx)); in load_sample_position() 1442 vtx.op = FETCH_OP_VFETCH; in load_sample_position() 1443 vtx.buffer_id = R600_BUFFER_INFO_CONST_BUFFER; in load_sample_position() 1444 vtx.fetch_type = SQ_VTX_FETCH_NO_INDEX_OFFSET; in load_sample_position() 1448 vtx.src_gpr = ctx->fixed_pt_position_gpr; // SAMPLEID is in .w; in load_sample_position() 1449 vtx.src_sel_x = 3; in load_sample_position() 1464 vtx.src_gpr = t1; in load_sample_position() 1465 vtx.src_sel_x = 0; in load_sample_position() 1467 vtx in load_sample_position() 1507 struct r600_bytecode_vtx vtx; eg_load_helper_invocation() local 1559 struct r600_bytecode_vtx vtx; load_block_grid_size() local 1665 struct r600_bytecode_vtx vtx; tgsi_src() local 1825 struct r600_bytecode_vtx vtx; tgsi_fetch_rel_const() local 1879 struct r600_bytecode_vtx vtx; fetch_gs_input() local 2580 struct r600_bytecode_vtx vtx; generate_gs_copy_shader() local 2978 struct r600_bytecode_vtx vtx; r600_fetch_tess_io_info() local 7412 struct r600_bytecode_vtx vtx; do_vtx_fetch_inst() local 7530 struct r600_bytecode_vtx vtx; r600_do_buffer_txq() local 8864 struct r600_bytecode_vtx vtx; tgsi_load_buffer() local 8919 struct r600_bytecode_vtx vtx; tgsi_load_rat() local 9249 struct r600_bytecode_vtx vtx; tgsi_atomic_op_rat() local [all...] |
/third_party/vk-gl-cts/modules/internal/ |
H A D | ditFrameworkTests.cpp | 604 c.vtx[0] = tcu::Vec4(-1.0f, -1.0f, 0.5f, 1.0f); in ConstantInterpolationTest() 605 c.vtx[1] = tcu::Vec4(-1.0f, +1.0f, 0.5f, 1.0f); in ConstantInterpolationTest() 606 c.vtx[2] = tcu::Vec4(+1.0f, -1.0f, 0.5f, 1.0f); in ConstantInterpolationTest() 614 c.vtx[0] = tcu::Vec4(-1.0f, +1.0f, 0.5f, 1.0f); in ConstantInterpolationTest() 615 c.vtx[1] = tcu::Vec4(+1.0f, -1.0f, 0.5f, 1.0f); in ConstantInterpolationTest() 616 c.vtx[2] = tcu::Vec4(+1.0f, +1.0f, 0.5f, 1.0f); in ConstantInterpolationTest() 623 c.vtx[0] = tcu::Vec4(-1.0f, -1.0f, 0.5f, 1.0f); in ConstantInterpolationTest() 624 c.vtx[1] = tcu::Vec4(-1.0f, +1.0f, 0.5f, 1.0f); in ConstantInterpolationTest() 625 c.vtx[2] = tcu::Vec4(+1.0f, -1.0f, 0.5f, 1.0f); in ConstantInterpolationTest() 632 c.vtx[ in ConstantInterpolationTest() 692 tcu::Vec4 vtx[3]; global() member [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
H A D | ir2_assemble.c | 186 instr_fetch_vtx_t *vtx = &bc->fetch.vtx; in fill_instr() local 188 assert(instr->fetch.vtx.const_idx <= 0x1f); in fill_instr() 189 assert(instr->fetch.vtx.const_idx_sel <= 0x3); in fill_instr() 191 vtx->src_reg = src_to_reg(ctx, src); in fill_instr() 192 vtx->src_swiz = fetch_swizzle(ctx, src, 1); in fill_instr() 193 vtx->dst_reg = dst_to_reg(ctx, instr); in fill_instr() 194 vtx->dst_swiz = fetch_dst_swiz(ctx, instr); in fill_instr() 196 vtx->must_be_one = 1; in fill_instr() 197 vtx in fill_instr() [all...] |
H A D | fd2_program.c | 179 instr->stride = ctx->vtx.vertexbuf.vb[elem->vertex_buffer_index].stride; 185 struct fd_vertex_stateobj *vtx, 194 (instr->vtx.const_index - 20) * 3 + instr->vtx.const_index_sel; 195 patch_vtx_fetch(ctx, &vtx->pipe[idx], &instr->vtx, fi->vtx.dst_swiz); 243 patch_fetches(ctx, vpi, ctx->vtx.vtx, &ctx->tex[PIPE_SHADER_VERTEX]); in fd2_program_emit()
|