shader: Implement front face
This commit is contained in:
parent
a806b29cb9
commit
f0031babeb
5 changed files with 12 additions and 0 deletions
|
@ -44,6 +44,9 @@ void GetAttribute(Info& info, IR::Attribute attribute) {
|
|||
case IR::Attribute::VertexId:
|
||||
info.loads_vertex_id = true;
|
||||
break;
|
||||
case IR::Attribute::FrontFace:
|
||||
info.loads_front_face = true;
|
||||
break;
|
||||
default:
|
||||
throw NotImplementedException("Get attribute {}", attribute);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue