1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-21 13:54:18 +01:00
dxvk/src/dxbc/dxbc_options.h

29 lines
707 B
C++

#pragma once
#include "../dxvk/dxvk_device.h"
namespace dxvk {
/**
* \brief DXBC compiler options
*
* Defines driver- or device-specific options,
* which are mostly workarounds for driver bugs.
*/
struct DxbcOptions {
DxbcOptions() { }
DxbcOptions(
const Rc<DxvkDevice>& device);
/// Add extra component to dref coordinate vector
bool addExtraDrefCoordComponent = false;
/// Use Fmin/Fmax instead of Nmin/Nmax.
bool useSimpleMinMaxClamp = false;
/// If \c false, image read operations can only be performed
/// on storage images with a scalar 32-bit image formats.
bool useStorageImageReadWithoutFormat = false;
};
}