mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
26 lines
657 B
C++
26 lines
657 B
C++
// Copyright 2010 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include "VideoBackends/D3D12/D3DBase.h"
|
|
|
|
class D3DBlob;
|
|
|
|
namespace DX12
|
|
{
|
|
namespace D3D
|
|
{
|
|
// The returned bytecode buffers should be Release()d.
|
|
bool CompileVertexShader(const std::string& code, ID3DBlob** blob);
|
|
bool CompileGeometryShader(const std::string& code, ID3DBlob** blob,
|
|
const D3D_SHADER_MACRO* defines = nullptr);
|
|
bool CompilePixelShader(const std::string& code, ID3DBlob** blob,
|
|
const D3D_SHADER_MACRO* defines = nullptr);
|
|
}
|
|
|
|
} // namespace DX12
|