Home | History | Annotate | Download | only in hlsl

Lines Matching defs:vector

871             error(loc, " left of '[' is not of type array, matrix, or vector ",
874 error(loc, " left of '[' is not of type array, matrix, or vector ", "expression", "");
1245 // To avoid storing a tree with pointers, we are going to flatten the tree into a vector of integers.
1484 // declared vector size.
2281 // these can be float scalar, float vector, or arrays of float scalar or float vector.
2286 // is vector components. The outer dimension is array elements.
2353 // vector sizes:
2369 // * vector size
2409 // vector sizes:
2493 // If internal node is a vector, extract the component of interest.
2639 std::vector <int> arrayElement;
2837 // if the RHS isn't already a simple vector, let's store into one
2838 TIntermSymbol* vector = right->getAsSymbolNode();
2840 if (vector == nullptr) {
2841 // create a new intermediate vector variable to assign to
2843 vector = intermediate.addSymbol(*makeInternalVariable("intermVec", vectorType), loc);
2845 // assign the right to the new vector
2846 vectorAssign = handleAssign(loc, op, vector, right);
2849 // Assign the vector components to the matrix components.
2857 // the right component, single index into the RHS vector
2858 TIntermTyped* rightComp = intermediate.addIndex(EOpIndexDirect, vector,
3399 // Sampler return must always be a vec4, but we can construct a shorter vector or a structure from it.
3413 // Convert vector output to return structure. We will need a temp symbol to copy the results to.
3435 error(loc, "expected: scalar or vector type in texture structure", "", "");
3446 // Assign each component of (possible) vector in struct member.
3456 // Vector member: we need to create an access chain to the vector component.
3478 // vector clamp the output if template vector type is smaller than sample result.
3480 // Too many components. Construct shorter vector from it.
3548 // The input vector should never be less than 2, since there's always a bias.
3637 // AST returns a vector of results, which we break apart component-wise into
5640 const std::vector<std::string>& resourceInfo = intermediate.getResourceSetBinding();
7051 // We can ignore the vector size in the comparison.
7691 error(loc, "wrong vector size (or rows in a matrix column):", "initializer list",
8045 // make a vector
8950 // If return type is a vector, remember the vector size in the sampler, and return.
8956 // If it wasn't a vector, it must be a struct meeting certain requirements. The requirements
9011 // Insert it in the vector that tracks struct return types.
9031 // We land here if the texture return is a vector or scalar.