12345678910111213141516171819202122232425262728293031323334 |
- # list lines expected to have tokens matching the patterns in the strings. each space is a separation.
- "Texture2D < float4 > SRG1_m_texSRVa : register ( t0 , space0 ) ;"
- "Texture2D < float4 > SRG1_m_texSRVb [] : register ( t1 , space0 ) ;"
- "RWTexture2D < float4 > SRG1_m_texUAVa : register ( u0 , space0 ) ;"
- "RWTexture2D < float4 > SRG1_m_texUAVb [] : register ( u1 , space0 ) ;"
- "SamplerState SRG1_m_samplera : register ( s0 , space0 ) ;"
- "SamplerState SRG1_m_samplerb [] : register ( s1 , space0 ) ;"
- "ConstantBuffer < :: SRG1_SRGConstantsStruct > SRG1_SRGConstantBuffer : register ( b0 , space0 ) ;"
- "ConstantBuffer < :: MyStruct > SRG1_m_structArraya : register ( b1 , space0 ) ;"
- "ConstantBuffer < :: MyStruct > SRG1_m_structArrayb [] : register ( b2 , space0 ) ;"
- "Texture2D < float4 > SRG2_m_texSRVa : register ( t0 , space1 ) ;"
- "Texture2D < float4 > SRG2_m_texSRVb [] : register ( t1 , space1 ) ;"
- "RWTexture2D < float4 > SRG2_m_texUAVa : register ( u0 , space1 ) ;"
- "RWTexture2D < float4 > SRG2_m_texUAVb [] : register ( u1 , space1 ) ;"
- "SamplerState SRG2_m_samplera : register ( s0 , space1 ) ;"
- "SamplerState SRG2_m_samplerb [] : register ( s1 , space1 ) ;"
- "ConstantBuffer < :: SRG2_SRGConstantsStruct > SRG2_SRGConstantBuffer : register ( b0 , space1 ) ;"
- "ConstantBuffer < :: MyStruct > SRG2_m_structArraya : register ( b1 , space1 ) ;"
- "ConstantBuffer < :: MyStruct > SRG2_m_structArrayb [] : register ( b2 , space1 ) ;"
- "float4 MainPS ( float2 uv : TEXCOORD0 ) : SV_Target0"
- "float4 diffuse = float4 ( 0 , 0 , 0 , 1 ) ;"
- "diffuse += :: SRG1_m_texSRVa . Sample ( :: SRG1_m_samplera , uv ) ;"
- "diffuse += :: SRG1_m_texSRVb [ :: SRG1_SRGConstantBuffer . SRG1_m_index ] . Sample ( :: SRG1_m_samplerb [ :: SRG1_SRGConstantBuffer . SRG1_m_index ] , uv ) ;"
- "diffuse += :: SRG1_m_texUAVa [ :: SRG1_SRGConstantBuffer . SRG1_m_rwTexCoord ] ;"
- "diffuse += :: SRG1_m_texUAVb [ :: SRG1_SRGConstantBuffer . SRG1_m_index ] [ :: SRG1_SRGConstantBuffer . SRG1_m_rwTexCoord ] ;"
- "diffuse += :: SRG1_m_structArraya . m_a ;"
- "diffuse += :: SRG1_m_structArrayb [ :: SRG1_SRGConstantBuffer . SRG1_m_index ] . m_b ;"
- "diffuse += :: SRG2_m_texSRVa . Sample ( :: SRG2_m_samplera , uv ) ;"
- "diffuse += :: SRG2_m_texSRVb [ :: SRG2_SRGConstantBuffer . SRG2_m_index ] . Sample ( :: SRG2_m_samplerb [ :: SRG2_SRGConstantBuffer . SRG2_m_index ] , uv ) ;"
- "diffuse += :: SRG2_m_texUAVa [ :: SRG2_SRGConstantBuffer . SRG2_m_rwTexCoord ] ;"
- "diffuse += :: SRG2_m_texUAVb [ :: SRG2_SRGConstantBuffer . SRG2_m_index ] [ :: SRG2_SRGConstantBuffer . SRG2_m_rwTexCoord ] ;"
- "diffuse += :: SRG2_m_structArraya . m_a ;"
- "diffuse += :: SRG2_m_structArrayb [ :: SRG2_SRGConstantBuffer . SRG2_m_index ] . m_b ;"
|