ShaderRenderCase: add anonymous namespace and fix error reporting in the TextureBinding