tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

DynamicImage2DHLSL.h (854B)


      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 
     15 namespace rx
     16 {
     17 std::string GenerateShaderForImage2DBindSignature(
     18    ProgramD3D &programD3D,
     19    const gl::ProgramState &programData,
     20    gl::ShaderType shaderType,
     21    const std::string &shaderHLSL,
     22    std::vector<sh::ShaderVariable> &image2DUniforms,
     23    const gl::ImageUnitTextureTypeMap &image2DBindLayout,
     24    unsigned int baseUAVRegister);
     25 
     26 }  // namespace rx
     27 
     28 #endif  // LIBANGLE_RENDERER_D3D_DYNAMICHLSL_H_