Home
last modified time | relevance | path

Searched refs:vertexID (Results 1 – 3 of 3) sorted by relevance

/external/angle/src/libANGLE/renderer/d3d/d3d11/shaders/
DBufferToTexture11.hlsl32 void ComputePositionAndIndex(uint vertexID, out VS_OUTPUT outVertex)
37 uint slice = vertexID / PixelsPerSlice;
39 uint row = (vertexID - sliceOffset) / PixelsPerRow;
40 uint col = vertexID - sliceOffset - (row * PixelsPerRow);
49 void VS_BufferToTexture(in uint vertexID : SV_VertexID, out VS_OUTPUT outVertex)
51 ComputePositionAndIndex(vertexID, outVertex);
/external/swiftshader/src/Shader/
DVertexProgram.cpp95 vertexID = Int4(Int(index)); in program()
99 vertexID = Insert(vertexID, As<Int>(index), 0); in program()
100 vertexID = Insert(vertexID, As<Int>(index + 1), 1); in program()
101 vertexID = Insert(vertexID, As<Int>(index + 2), 2); in program()
102 vertexID = Insert(vertexID, As<Int>(index + 3), 3); in program()
772 reg.x = As<Float4>(vertexID); in fetchRegister()
905 case Shader::VertexIDIndex: a = As<Float4>(vertexID); break; in readConstant()
979 case Shader::VertexIDIndex: a = As<Float4>(vertexID); break; in dynamicAddress()
DVertexProgram.hpp61 Int4 vertexID; member in sw::VertexProgram