Lines Matching defs:AccessChain
533 struct AccessChain { struct
534 …e; // for l-values, pointer to the base object, for r-values, the base object
535 std::vector<Id> indexChain;
536 Id instr; // cache the instruction that generates this access chain
537 … std::vector<unsigned> swizzle; // each std::vector element selects the next GLSL component number
538 …ynamic component index, can coexist with a swizzle, done after the swizzle, NoResult if not present
539 …enced type, before swizzle or component is applied; NoType unless a swizzle or component is present
540 … bool isRValue; // true if 'base' is an r-value, otherwise, base is an l-value
541 …sed in. Accumulates worst alignment. Only tracks base and (optional) component selection alignment.
544 struct CoherentFlags {
587 AccessChain getAccessChain() { return accessChain; } in getAccessChain() argument