Lines Matching refs:code
199 std::string globalCode; //!< generic shader code outside the main function (e.g. declarations)
200 std::string mainCode; //!< generic shader code to execute in main (e.g. assignments)
284 std::ostringstream code;
291 code << decl << "\n";
293 code << "\n";
294 return code.str();
299 std::ostringstream code;
300 code << "layout (set = 0, binding = 0, std430) writeonly buffer Output {\n"
304 return code.str();
1978 //! This code will go into the main function.
1988 // Generate main code to calculate checksums for each array
2146 const int checksum = (3 + 2 + 1 + specValue + 8); // matches the shader code