ppsspp/ext/native/gfx/d3d9_shader.h
2017-02-05 20:50:17 +01:00

16 lines
478 B
C++

#pragma once
#include "Common/CommonWindows.h"
#include <string>
#include <d3d9.h>
struct ID3DXConstantTable;
namespace DX9 {
bool CompilePixelShader(LPDIRECT3DDEVICE9 device, const char *code, LPDIRECT3DPIXELSHADER9 *pShader, ID3DXConstantTable **pShaderTable, std::string &errorMessage);
bool CompileVertexShader(LPDIRECT3DDEVICE9 device, const char *code, LPDIRECT3DVERTEXSHADER9 *pShader, ID3DXConstantTable **pShaderTable, std::string &errorMessage);
} // namespace