summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/angle/src/libANGLE/renderer/d3d/d3d11/internal_format_initializer_table.h
blob: 2d538e1d82ffda382cfc5fd5620331d6faddfece (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//
// Copyright 2015 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// internal_format_initializer_table:
//   Contains table to go from internal format and dxgi format to initializer function
//   for TextureFormat
//

#ifndef LIBANGLE_RENDERER_D3D_D3D11_INTERNALFORMATINITIALIZERTABLE_H_
#define LIBANGLE_RENDERER_D3D_D3D11_INTERNALFORMATINITIALIZERTABLE_H_

#include "libANGLE/renderer/d3d/d3d11/Renderer11.h"

#include <map>

namespace rx
{

namespace d3d11
{

InitializeTextureDataFunction GetInternalFormatInitializer(GLenum internalFormat,
                                                           DXGI_FORMAT dxgiFormat);

}  // namespace d3d11

}  // namespace rx

#endif  // LIBANGLE_RENDERER_D3D_D3D11_INTERNALFORMATINITIALIZERTABLE_H_