2018-06-23 17:14:35 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "dxbc_options.h"
|
|
|
|
|
|
|
|
namespace dxvk {
|
|
|
|
|
2018-09-09 23:14:00 +02:00
|
|
|
/**
|
|
|
|
* \brief Tessellation info
|
|
|
|
*
|
|
|
|
* Stores the maximum tessellation factor
|
|
|
|
* to export from tessellation shaders.
|
|
|
|
*/
|
|
|
|
struct DxbcTessInfo {
|
|
|
|
float maxTessFactor;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2018-06-23 17:14:35 +02:00
|
|
|
/**
|
|
|
|
* \brief Shader module info
|
|
|
|
*
|
|
|
|
* Stores information which may affect shader compilation.
|
|
|
|
* This data can be supplied by the client API implementation.
|
|
|
|
*/
|
|
|
|
struct DxbcModuleInfo {
|
2018-09-09 23:14:00 +02:00
|
|
|
DxbcOptions options;
|
|
|
|
DxbcTessInfo* tess;
|
2018-06-23 17:14:35 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|