HLSL: Fix #1154: Support PointSize, as an attribute.
This commit is contained in:
parent
b0159f8565
commit
cc951f8183
9 changed files with 255 additions and 5 deletions
|
|
@ -60,6 +60,8 @@ namespace glslang {
|
|||
return EatBinding;
|
||||
else if (lowername == "global_cbuffer_binding")
|
||||
return EatGlobalBinding;
|
||||
else if (lowername == "builtin")
|
||||
return EatBuiltIn;
|
||||
} else if (lowernameSpace.size() > 0)
|
||||
return EatNone;
|
||||
|
||||
|
|
@ -177,7 +179,7 @@ namespace glslang {
|
|||
const TConstUnion* constVal = &attrAgg->getSequence()[argNum]->getAsConstantUnion()->getConstArray()[0];
|
||||
if (constVal == nullptr || constVal->getType() != basicType)
|
||||
return nullptr;
|
||||
|
||||
|
||||
return constVal;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue