GLSL: Implement XFB for redeclared built-in blocks.
This commit is contained in:
parent
04f4566f28
commit
be3842f6ae
8 changed files with 133 additions and 47 deletions
|
|
@ -650,15 +650,19 @@ public:
|
|||
layoutXfbOffset = layoutXfbOffsetEnd;
|
||||
}
|
||||
|
||||
bool hasLayout() const
|
||||
bool hasNonXfbLayout() const
|
||||
{
|
||||
return hasUniformLayout() ||
|
||||
hasAnyLocation() ||
|
||||
hasStream() ||
|
||||
hasXfb() ||
|
||||
hasFormat() ||
|
||||
layoutPushConstant;
|
||||
}
|
||||
bool hasLayout() const
|
||||
{
|
||||
return hasNonXfbLayout() ||
|
||||
hasXfb();
|
||||
}
|
||||
TLayoutMatrix layoutMatrix : 3;
|
||||
TLayoutPacking layoutPacking : 4;
|
||||
int layoutOffset;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue