1 // 2 // Copyright 2019 The ANGLE Project Authors. All rights reserved. 3 // Use of this source code is governed by a BSD-style license that can be 4 // found in the LICENSE file. 5 // 6 // DynamicImage2DHLSL.h: Interface for link and run-time HLSL generation 7 // 8 9 #ifndef LIBANGLE_RENDERER_D3D_DYNAMICIMAGE2DHLSL_H_ 10 #define LIBANGLE_RENDERER_D3D_DYNAMICIMAGE2DHLSL_H_ 11 12 #include "common/angleutils.h" 13 #include "libANGLE/renderer/d3d/RendererD3D.h" 14 #include "libANGLE/renderer/d3d/ShaderD3D.h" 15 16 namespace rx 17 { 18 std::string GenerateShaderForImage2DBindSignatureImpl( 19 ProgramExecutableD3D &executableD3D, 20 gl::ShaderType shaderType, 21 const SharedCompiledShaderStateD3D &shaderData, 22 const std::string &shaderHLSL, 23 std::vector<sh::ShaderVariable> &image2DUniforms, 24 const gl::ImageUnitTextureTypeMap &image2DBindLayout, 25 unsigned int baseUAVRegister); 26 27 } // namespace rx 28 29 #endif // LIBANGLE_RENDERER_D3D_DYNAMICHLSL_H_ 30