| 797 | } |
| 798 | |
| 799 | std::string GpuShaderText::float4Decl(const std::string & name) const |
| 800 | { |
| 801 | if (name.empty()) |
| 802 | { |
| 803 | throw Exception("GPU variable name is empty."); |
| 804 | } |
| 805 | |
| 806 | return float4Keyword() + " " + name; |
| 807 | } |
| 808 | |
| 809 | void GpuShaderText::declareFloat4(const std::string & name, |
| 810 | const float x, |
no test coverage detected