mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-03 22:24:13 +01:00
[d3d9] Don't enable DrawParameters capability
Not used in D3D9 shaders.
This commit is contained in:
parent
238fcad055
commit
7e35a0687b
@ -1408,9 +1408,6 @@ namespace dxvk {
|
|||||||
|
|
||||||
// VS Caps
|
// VS Caps
|
||||||
m_module.enableCapability(spv::CapabilityClipDistance);
|
m_module.enableCapability(spv::CapabilityClipDistance);
|
||||||
m_module.enableCapability(spv::CapabilityDrawParameters);
|
|
||||||
|
|
||||||
m_module.enableExtension("SPV_KHR_shader_draw_parameters");
|
|
||||||
|
|
||||||
emitLightTypeDecl();
|
emitLightTypeDecl();
|
||||||
emitBaseBufferDecl();
|
emitBaseBufferDecl();
|
||||||
|
@ -385,9 +385,6 @@ namespace dxvk {
|
|||||||
|
|
||||||
void DxsoCompiler::emitVsInit() {
|
void DxsoCompiler::emitVsInit() {
|
||||||
m_module.enableCapability(spv::CapabilityClipDistance);
|
m_module.enableCapability(spv::CapabilityClipDistance);
|
||||||
m_module.enableCapability(spv::CapabilityDrawParameters);
|
|
||||||
|
|
||||||
m_module.enableExtension("SPV_KHR_shader_draw_parameters");
|
|
||||||
|
|
||||||
// Only VS needs this, because PS has
|
// Only VS needs this, because PS has
|
||||||
// non-indexable specialized output regs
|
// non-indexable specialized output regs
|
||||||
|
Loading…
Reference in New Issue
Block a user