(func)
| 96037 | return "uniform sampler2D texture;\nuniform vec2 texSize;\n\nvarying vec2 position;\nvarying vec2 coordinate;\nvarying vec2 uv;\n\nvoid main() {\n vec2 texCoord = coordinate;\n\n gl_FragColor = texture2D(texture, texCoord);\n gl_FragColor = ".concat(func, "(gl_FragColor, texSize, texCoord);\n}\n"); |
| 96038 | }; |
| 96039 | var SAMPLER_FS_TEMPLATE = function SAMPLER_FS_TEMPLATE(func) { |
| 96040 | return "uniform sampler2D texture;\nuniform vec2 texSize;\n\nvarying vec2 position;\nvarying vec2 coordinate;\nvarying vec2 uv;\n\nvoid main() {\n vec2 texCoord = coordinate;\n\n gl_FragColor = ".concat(func, "(texture, texSize, texCoord);\n}\n"); |
| 96041 | }; |
| 96042 | function getFragmentShaderForRenderPass(module) { |
| 96043 | var pass = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : module; |
| 96044 | if (pass.filter) { |
no outgoing calls
no test coverage detected