shader: Implement ViewportIndex

This commit is contained in:
FernandoS27
2021-04-01 08:34:45 +02:00
committed by ameerj
parent fd496d0401
commit d819ba4489
8 changed files with 33 additions and 2 deletions

View File

@ -106,6 +106,7 @@ public:
Id front_face{};
Id point_coord{};
Id clip_distances{};
Id viewport_index{};
Id fswzadd_lut_a{};
Id fswzadd_lut_b{};
@ -133,6 +134,8 @@ public:
std::vector<Id> interfaces;
bool ignore_viewport_layer{};
private:
void DefineCommonTypes(const Info& info);
void DefineCommonConstants();