mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-14 00:48:44 +01:00
24 lines
577 B
C++
24 lines
577 B
C++
#pragma once
|
|
|
|
#include "../dxvk/dxvk_device.h"
|
|
|
|
namespace dxvk {
|
|
|
|
struct D3D11Options;
|
|
|
|
struct DxbcOptions {
|
|
DxbcOptions();
|
|
DxbcOptions(const Rc<DxvkDevice>& device, const D3D11Options& options);
|
|
|
|
/// Use the ShaderImageReadWithoutFormat capability.
|
|
bool useStorageImageReadWithoutFormat = false;
|
|
|
|
/// Use subgroup operations to discard fragment
|
|
/// shader invocations if derivatives remain valid.
|
|
bool useSubgroupOpsForEarlyDiscard = false;
|
|
|
|
/// Clear thread-group shared memory to zero
|
|
bool zeroInitWorkgroupMemory = false;
|
|
};
|
|
|
|
} |