shader: Add partial rasterizer integration
This commit is contained in:
parent
832f1169d6
commit
33090a74dd
54 changed files with 1929 additions and 568 deletions
|
@ -13,7 +13,7 @@ bool IsGeneric(Attribute attribute) noexcept {
|
|||
return attribute >= Attribute::Generic0X && attribute <= Attribute::Generic31X;
|
||||
}
|
||||
|
||||
int GenericAttributeIndex(Attribute attribute) {
|
||||
u32 GenericAttributeIndex(Attribute attribute) {
|
||||
if (!IsGeneric(attribute)) {
|
||||
throw InvalidArgument("Attribute is not generic {}", attribute);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue