glslang linker: Make some methods static that can be static. Contributor: Lei Zhang (antiagainst@google.com).
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31113 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
b330d467fc
commit
6add20a835
2 changed files with 4 additions and 4 deletions
|
|
@ -835,7 +835,7 @@ const int baseAlignmentVec4Std140 = 16;
|
|||
// Return the size and alignment of a scalar.
|
||||
// The size is returned in the 'size' parameter
|
||||
// Return value is the alignment of the type.
|
||||
int TIntermediate::getBaseAlignmentScalar(const TType& type, int& size) const
|
||||
int TIntermediate::getBaseAlignmentScalar(const TType& type, int& size)
|
||||
{
|
||||
switch (type.getBasicType()) {
|
||||
case EbtDouble: size = 8; return 8;
|
||||
|
|
@ -851,7 +851,7 @@ int TIntermediate::getBaseAlignmentScalar(const TType& type, int& size) const
|
|||
//
|
||||
// The size is returned in the 'size' parameter
|
||||
// Return value is the alignment of the type.
|
||||
int TIntermediate::getBaseAlignment(const TType& type, int& size, bool std140) const
|
||||
int TIntermediate::getBaseAlignment(const TType& type, int& size, bool std140)
|
||||
{
|
||||
int alignment;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue