From 780780f8d1c8f8bec08754e1e0318257e4991a82 Mon Sep 17 00:00:00 2001
From: Philip Rebohle <philip.rebohle@tu-dortmund.de>
Date: Mon, 5 Nov 2018 18:30:32 +0100
Subject: [PATCH] [dxbc] Don't enable sample shading for interpolation
 functions

Actually doesn't resolve #456, and doesn't make any sense either because
interpolation at a given sample index is apparently supposed to work even
without using sample shading.
---
 src/dxbc/dxbc_compiler.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/dxbc/dxbc_compiler.cpp b/src/dxbc/dxbc_compiler.cpp
index 9c06360e..a0b8a513 100644
--- a/src/dxbc/dxbc_compiler.cpp
+++ b/src/dxbc/dxbc_compiler.cpp
@@ -2799,7 +2799,6 @@ namespace dxvk {
   
   void DxbcCompiler::emitInterpolate(const DxbcShaderInstruction& ins) {
     m_module.enableCapability(spv::CapabilityInterpolationFunction);
-    m_module.enableCapability(spv::CapabilitySampleRateShading);
 
     // The SPIR-V instructions operate on input variable pointers,
     // which are all declared as four-component float vectors.