shader: Add physical attributes commentaries

This commit is contained in:
ReinUsesLisp 2019-04-30 19:46:49 -03:00
parent c6f9e651b2
commit fe700e1856
4 changed files with 8 additions and 4 deletions

View file

@ -895,6 +895,8 @@ private:
target = GetRegister(gpr->GetIndex());
} else if (const auto abuf = std::get_if<AbufNode>(dest)) {
UNIMPLEMENTED_IF(abuf->IsPhysicalBuffer());
target = [&]() -> std::string {
switch (const auto attribute = abuf->GetIndex(); abuf->GetIndex()) {
case Attribute::Index::Position: