Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#ActualTiagoCosta

Posted 15 May 2012 - 10:02 AM

I'm trying to disable interpolation of some vertex attributes using the nointerpolation modifier but it's causing an error:

D3D11: ERROR: ID3D11DeviceContext::Draw: Geometry Shader - Pixel Shader linkage error: Signatures between stages are incompatible. Semantic 'RANGE' is defined for mismatched hardware registers between the output stage and input stage. [ EXECUTION ERROR #343: DEVICE_SHADER_LINKAGE_REGISTERINDEX ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Geometry Shader - Pixel Shader linkage error: Signatures between stages are incompatible. Semantic 'RANGE' of the input stage has a hardware register component mask that is not a subset of the output of the previous stage. [ EXECUTION ERROR #345: DEVICE_SHADER_LINKAGE_REGISTERMASK ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Geometry Shader - Pixel Shader linkage error: Signatures between stages are incompatible. Semantic 'POSITION' of the input stage has a hardware register component mask that is not a subset of the output of the previous stage. [ EXECUTION ERROR #345: DEVICE_SHADER_LINKAGE_REGISTERMASK ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Geometry Shader - Pixel Shader linkage error: Signatures between stages are incompatible. Semantic 'SPOTPOWER' is defined for mismatched hardware registers between the output stage and input stage. [ EXECUTION ERROR #343: DEVICE_SHADER_LINKAGE_REGISTERINDEX ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Geometry Shader - Pixel Shader linkage error: Signatures between stages are incompatible. Semantic 'SPOTPOWER' of the input stage has a hardware register component mask that is not a subset of the output of the previous stage. [ EXECUTION ERROR #345: DEVICE_SHADER_LINKAGE_REGISTERMASK ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Geometry Shader - Pixel Shader linkage error: Signatures between stages are incompatible. Semantic 'DIRECTION' of the input stage has a hardware register component mask that is not a subset of the output of the previous stage. [ EXECUTION ERROR #345: DEVICE_SHADER_LINKAGE_REGISTERMASK ]

This are the output/input structures:
struct GS_OUT
{
float4 posH	  : SV_Position;
float3 viewRay  : VIEWRAY;
float  lightRange  : RANGE;
float3 lightPosVS  : POSITION;
float  spotPower : SPOTPOWER;
float3 lightDirVS	   : DIRECTION;
float3 lightColor  : COLOR;
};


struct PS_IN
{
float4 posH	  : SV_Position;
float3 viewRay : VIEWRAY;
nointerpolation float  lightRange  : RANGE;
nointerpolation float3 lightPosVS  : POSITION;
nointerpolation float  spotPower : SPOTPOWER;
nointerpolation float3 lightDirVS	   : DIRECTION;
nointerpolation float3 lightColor  : COLOR;
};

#4TiagoCosta

Posted 15 May 2012 - 08:14 AM

I'm trying to disable interpolation of some vertex attributes using the nointerpolation modifier but it's causing an error:

D3D11: ERROR: ID3D11DeviceContext::Draw: Geometry Shader - Pixel Shader linkage error: Signatures between stages are incompatible. Semantic 'RANGE' is defined for mismatched hardware registers between the output stage and input stage. [ EXECUTION ERROR #343: DEVICE_SHADER_LINKAGE_REGISTERINDEX ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Geometry Shader - Pixel Shader linkage error: Signatures between stages are incompatible. Semantic 'RANGE' of the input stage has a hardware register component mask that is not a subset of the output of the previous stage. [ EXECUTION ERROR #345: DEVICE_SHADER_LINKAGE_REGISTERMASK ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Geometry Shader - Pixel Shader linkage error: Signatures between stages are incompatible. Semantic 'POSITION' of the input stage has a hardware register component mask that is not a subset of the output of the previous stage. [ EXECUTION ERROR #345: DEVICE_SHADER_LINKAGE_REGISTERMASK ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Geometry Shader - Pixel Shader linkage error: Signatures between stages are incompatible. Semantic 'SPOTPOWER' is defined for mismatched hardware registers between the output stage and input stage. [ EXECUTION ERROR #343: DEVICE_SHADER_LINKAGE_REGISTERINDEX ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Geometry Shader - Pixel Shader linkage error: Signatures between stages are incompatible. Semantic 'SPOTPOWER' of the input stage has a hardware register component mask that is not a subset of the output of the previous stage. [ EXECUTION ERROR #345: DEVICE_SHADER_LINKAGE_REGISTERMASK ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Geometry Shader - Pixel Shader linkage error: Signatures between stages are incompatible. Semantic 'DIRECTION' of the input stage has a hardware register component mask that is not a subset of the output of the previous stage. [ EXECUTION ERROR #345: DEVICE_SHADER_LINKAGE_REGISTERMASK ]

This are the output/input structures:
struct GS_OUT
{
float4 posH	  : SV_Position;
float3 viewRay  : VIEWRAY;
float  lightRange  : RANGE;
float3 lightPosVS  : POSITION;
float  spotPower : SPOTPOWER;
float3 lightDirVS	   : DIRECTION;
float3 lightColor  : COLOR;
};


struct PS_IN
{
float4 posH	  : SV_Position;
float3 viewRay : VIEWRAY;
nointerpolation float  lightRange  : RANGE;
nointerpolation float3 lightPosVS  : POSITION;
nointerpolation float  spotPower : SPOTPOWER;
nointerpolation float3 lightDirVS	   : DIRECTION;
nointerpolation float3 lightColor  : COLOR;
};

#3TiagoCosta

Posted 15 May 2012 - 08:14 AM

I'm trying to disable interpolation of some vertex attributes using thenointerpolation modifier but it's causing an error:

D3D11: ERROR: ID3D11DeviceContext::Draw: Geometry Shader - Pixel Shader linkage error: Signatures between stages are incompatible. Semantic 'RANGE' is defined for mismatched hardware registers between the output stage and input stage. [ EXECUTION ERROR #343: DEVICE_SHADER_LINKAGE_REGISTERINDEX ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Geometry Shader - Pixel Shader linkage error: Signatures between stages are incompatible. Semantic 'RANGE' of the input stage has a hardware register component mask that is not a subset of the output of the previous stage. [ EXECUTION ERROR #345: DEVICE_SHADER_LINKAGE_REGISTERMASK ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Geometry Shader - Pixel Shader linkage error: Signatures between stages are incompatible. Semantic 'POSITION' of the input stage has a hardware register component mask that is not a subset of the output of the previous stage. [ EXECUTION ERROR #345: DEVICE_SHADER_LINKAGE_REGISTERMASK ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Geometry Shader - Pixel Shader linkage error: Signatures between stages are incompatible. Semantic 'SPOTPOWER' is defined for mismatched hardware registers between the output stage and input stage. [ EXECUTION ERROR #343: DEVICE_SHADER_LINKAGE_REGISTERINDEX ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Geometry Shader - Pixel Shader linkage error: Signatures between stages are incompatible. Semantic 'SPOTPOWER' of the input stage has a hardware register component mask that is not a subset of the output of the previous stage. [ EXECUTION ERROR #345: DEVICE_SHADER_LINKAGE_REGISTERMASK ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Geometry Shader - Pixel Shader linkage error: Signatures between stages are incompatible. Semantic 'DIRECTION' of the input stage has a hardware register component mask that is not a subset of the output of the previous stage. [ EXECUTION ERROR #345: DEVICE_SHADER_LINKAGE_REGISTERMASK ]

This are the output/input structures:
struct GS_OUT
{
float4 posH	  : SV_Position;
float3 viewRay  : VIEWRAY;
float  lightRange  : RANGE;
float3 lightPosVS  : POSITION;
float  spotPower : SPOTPOWER;
float3 lightDirVS	   : DIRECTION;
float3 lightColor  : COLOR;
};


struct PS_IN
{
float4 posH	  : SV_Position;
float3 viewRay : VIEWRAY;
nointerpolation float  lightRange  : RANGE;
nointerpolation float3 lightPosVS  : POSITION;
nointerpolation float  spotPower : SPOTPOWER;
nointerpolation float3 lightDirVS	   : DIRECTION;
nointerpolation float3 lightColor  : COLOR;
};

#2TiagoCosta

Posted 15 May 2012 - 08:14 AM

I'm trying to disable interpolation of some vertex attributes using thenointerpolation modifier but it's causing an error:


D3D11: ERROR: ID3D11DeviceContext::Draw: Geometry Shader - Pixel Shader linkage error: Signatures between stages are incompatible. Semantic 'RANGE' is defined for mismatched hardware registers between the output stage and input stage. [ EXECUTION ERROR #343: DEVICE_SHADER_LINKAGE_REGISTERINDEX ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Geometry Shader - Pixel Shader linkage error: Signatures between stages are incompatible. Semantic 'RANGE' of the input stage has a hardware register component mask that is not a subset of the output of the previous stage. [ EXECUTION ERROR #345: DEVICE_SHADER_LINKAGE_REGISTERMASK ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Geometry Shader - Pixel Shader linkage error: Signatures between stages are incompatible. Semantic 'POSITION' of the input stage has a hardware register component mask that is not a subset of the output of the previous stage. [ EXECUTION ERROR #345: DEVICE_SHADER_LINKAGE_REGISTERMASK ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Geometry Shader - Pixel Shader linkage error: Signatures between stages are incompatible. Semantic 'SPOTPOWER' is defined for mismatched hardware registers between the output stage and input stage. [ EXECUTION ERROR #343: DEVICE_SHADER_LINKAGE_REGISTERINDEX ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Geometry Shader - Pixel Shader linkage error: Signatures between stages are incompatible. Semantic 'SPOTPOWER' of the input stage has a hardware register component mask that is not a subset of the output of the previous stage. [ EXECUTION ERROR #345: DEVICE_SHADER_LINKAGE_REGISTERMASK ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Geometry Shader - Pixel Shader linkage error: Signatures between stages are incompatible. Semantic 'DIRECTION' of the input stage has a hardware register component mask that is not a subset of the output of the previous stage. [ EXECUTION ERROR #345: DEVICE_SHADER_LINKAGE_REGISTERMASK ]

This are the output/input structures:
struct GS_OUT
{
float4 posH	  : SV_Position;
float3 viewRay  : VIEWRAY;
float  lightRange  : RANGE;
float3 lightPosVS  : POSITION;
float  spotPower : SPOTPOWER;
float3 lightDirVS	   : DIRECTION;
float3 lightColor  : COLOR;
};


struct PS_IN
{
float4 posH	  : SV_Position;
float3 viewRay : VIEWRAY;
nointerpolation float  lightRange  : RANGE;
nointerpolation float3 lightPosVS  : POSITION;
nointerpolation float  spotPower : SPOTPOWER;
nointerpolation float3 lightDirVS	   : DIRECTION;
nointerpolation float3 lightColor  : COLOR;
};

#1TiagoCosta

Posted 15 May 2012 - 08:13 AM

I'm trying to disable interpolation of some vertex attributes using thenointerpolation modifier but it's causing an error:

D3D11: ERROR: ID3D11DeviceContext::Draw: Geometry Shader - Pixel Shader linkage error: Signatures between stages are incompatible. Semantic 'RANGE' is defined for mismatched hardware registers between the output stage and input stage. [ EXECUTION ERROR #343: DEVICE_SHADER_LINKAGE_REGISTERINDEX ]...

This are the output/input structures:
struct GS_OUT
{
float4 posH	  : SV_Position;
float3 viewRay  : VIEWRAY;
float  lightRange  : RANGE;
float3 lightPosVS  : POSITION;
float  spotPower : SPOTPOWER;
float3 lightDirVS	   : DIRECTION;
float3 lightColor  : COLOR;
};


struct PS_IN
{
float4 posH      : SV_Position;
float3 viewRay : VIEWRAY;
nointerpolation float  lightRange  : RANGE;
nointerpolation float3 lightPosVS  : POSITION;
nointerpolation float  spotPower : SPOTPOWER;
nointerpolation float3 lightDirVS       : DIRECTION;
nointerpolation float3 lightColor  : COLOR;
};

PARTNERS