Id makeMatrixType(Id component, int cols, int rows);\r
Id makeArrayType(Id element, unsigned size);\r
Id makeFunctionType(Id returnType, std::vector<Id>& paramTypes);\r
- enum samplerContent {\r
+ enum samplerContent : unsigned {\r
samplerContentTexture,\r
samplerContentImage,\r
samplerContentTextureFilter\r
\r
// If the value passed in is an instruction and the precision is not EMpNone,\r
// it gets tagged with the requested precision.\r
- void setPrecision(Id value, Decoration precision)\r
+ void setPrecision(Id /* value */, Decoration /* precision */)\r
{\r
// TODO\r
}\r
void makeEndIf();\r
\r
private:\r
+ If(const If&);\r
+ If& operator=(If&);\r
+\r
Builder& builder;\r
Id condition;\r
Function* function;\r