mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-14 00:48:44 +01:00
31 lines
392 B
C
31 lines
392 B
C
|
#pragma once
|
||
|
|
||
|
#include "dxso_common.h"
|
||
|
|
||
|
#include "dxso_reader.h"
|
||
|
|
||
|
namespace dxvk {
|
||
|
|
||
|
/**
|
||
|
* \brief DXSO header
|
||
|
*
|
||
|
* Stores meta information about the shader such
|
||
|
* as the version and the type.
|
||
|
*/
|
||
|
class DxsoHeader {
|
||
|
|
||
|
public:
|
||
|
|
||
|
DxsoHeader(DxsoReader& reader);
|
||
|
|
||
|
const DxsoProgramInfo& info() const {
|
||
|
return m_info;
|
||
|
}
|
||
|
|
||
|
private:
|
||
|
|
||
|
DxsoProgramInfo m_info;
|
||
|
|
||
|
};
|
||
|
|
||
|
}
|