Home
last modified time | relevance | path

Searched refs:vertexId (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_compiler.c90 if (info->io.vertexId < info->numSysVals) in dummy_assign_slots()
91 info->sv[info->io.vertexId].slot[0] = n++; in dummy_assign_slots()
/external/angle/src/libANGLE/
DGLES1Shaders.inc276 mediump vec4 drawTexturePosition(int vertexId)
279 vec2 positionXY = draw_texture_coords.xy + drawTextureVertices[vertexId].xy * draw_texture_dims;
283 mediump vec3 drawTextureTexCoord(int vertexId, uint textureUnit)
288 mediump vec2 texCoords = texCropPos + drawTextureVertices[vertexId].xy * texCropDim;
344 int vertexId = gl_VertexID;
345 mediump vec4 posDrawTexture = drawTexturePosition(vertexId);
355 texcoord0_varying = drawTextureTexCoord(vertexId, 0u);
358 texcoord1_varying = drawTextureTexCoord(vertexId, 1u);
361 texcoord2_varying = drawTextureTexCoord(vertexId, 2u);
364 texcoord3_varying = drawTextureTexCoord(vertexId, 3u);
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_program.c90 if (info->io.vertexId < info->numSysVals) in nv50_vertprog_assign_slots()
91 info->sv[info->io.vertexId].slot[0] = n++; in nv50_vertprog_assign_slots()
404 prog->vp.need_vertex_id = info_out.io.vertexId < PIPE_MAX_SHADER_INPUTS; in nv50_program_translate()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_driver.h194 uint8_t vertexId; /* system value index of VertexID */ member
Dnv50_ir_print.cpp1006 INFO(" \"vertexId\":\"%d\"\n", info_out->io.vertexId); in nv50_ir_prog_info_out_print()
Dnv50_ir.cpp1264 info_out->io.vertexId = 0xff; in nv50_ir_init_prog_info()
Dnv50_ir_from_nir.cpp1001 info_out->io.vertexId = info_out->numSysVals; in assignSlots()
Dnv50_ir_from_tgsi.cpp1381 info_out->io.vertexId = first; in scanDeclaration()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_program.c695 prog->vp.need_vertex_id = info_out.io.vertexId < PIPE_MAX_SHADER_INPUTS; in nvc0_program_translate()