UnboundedArrays.txt 2.6 KB

12345678910111213141516171819202122232425262728293031323334
  1. # list lines expected to have tokens matching the patterns in the strings. each space is a separation.
  2. "Texture2D < float4 > SRG1_m_texSRVa : register ( t0 , space0 ) ;"
  3. "Texture2D < float4 > SRG1_m_texSRVb [] : register ( t1 , space0 ) ;"
  4. "RWTexture2D < float4 > SRG1_m_texUAVa : register ( u0 , space0 ) ;"
  5. "RWTexture2D < float4 > SRG1_m_texUAVb [] : register ( u1 , space0 ) ;"
  6. "SamplerState SRG1_m_samplera : register ( s0 , space0 ) ;"
  7. "SamplerState SRG1_m_samplerb [] : register ( s1 , space0 ) ;"
  8. "ConstantBuffer < :: SRG1_SRGConstantsStruct > SRG1_SRGConstantBuffer : register ( b0 , space0 ) ;"
  9. "ConstantBuffer < :: MyStruct > SRG1_m_structArraya : register ( b1 , space0 ) ;"
  10. "ConstantBuffer < :: MyStruct > SRG1_m_structArrayb [] : register ( b2 , space0 ) ;"
  11. "Texture2D < float4 > SRG2_m_texSRVa : register ( t0 , space1 ) ;"
  12. "Texture2D < float4 > SRG2_m_texSRVb [] : register ( t1 , space1 ) ;"
  13. "RWTexture2D < float4 > SRG2_m_texUAVa : register ( u0 , space1 ) ;"
  14. "RWTexture2D < float4 > SRG2_m_texUAVb [] : register ( u1 , space1 ) ;"
  15. "SamplerState SRG2_m_samplera : register ( s0 , space1 ) ;"
  16. "SamplerState SRG2_m_samplerb [] : register ( s1 , space1 ) ;"
  17. "ConstantBuffer < :: SRG2_SRGConstantsStruct > SRG2_SRGConstantBuffer : register ( b0 , space1 ) ;"
  18. "ConstantBuffer < :: MyStruct > SRG2_m_structArraya : register ( b1 , space1 ) ;"
  19. "ConstantBuffer < :: MyStruct > SRG2_m_structArrayb [] : register ( b2 , space1 ) ;"
  20. "float4 MainPS ( float2 uv : TEXCOORD0 ) : SV_Target0"
  21. "float4 diffuse = float4 ( 0 , 0 , 0 , 1 ) ;"
  22. "diffuse += :: SRG1_m_texSRVa . Sample ( :: SRG1_m_samplera , uv ) ;"
  23. "diffuse += :: SRG1_m_texSRVb [ :: SRG1_SRGConstantBuffer . SRG1_m_index ] . Sample ( :: SRG1_m_samplerb [ :: SRG1_SRGConstantBuffer . SRG1_m_index ] , uv ) ;"
  24. "diffuse += :: SRG1_m_texUAVa [ :: SRG1_SRGConstantBuffer . SRG1_m_rwTexCoord ] ;"
  25. "diffuse += :: SRG1_m_texUAVb [ :: SRG1_SRGConstantBuffer . SRG1_m_index ] [ :: SRG1_SRGConstantBuffer . SRG1_m_rwTexCoord ] ;"
  26. "diffuse += :: SRG1_m_structArraya . m_a ;"
  27. "diffuse += :: SRG1_m_structArrayb [ :: SRG1_SRGConstantBuffer . SRG1_m_index ] . m_b ;"
  28. "diffuse += :: SRG2_m_texSRVa . Sample ( :: SRG2_m_samplera , uv ) ;"
  29. "diffuse += :: SRG2_m_texSRVb [ :: SRG2_SRGConstantBuffer . SRG2_m_index ] . Sample ( :: SRG2_m_samplerb [ :: SRG2_SRGConstantBuffer . SRG2_m_index ] , uv ) ;"
  30. "diffuse += :: SRG2_m_texUAVa [ :: SRG2_SRGConstantBuffer . SRG2_m_rwTexCoord ] ;"
  31. "diffuse += :: SRG2_m_texUAVb [ :: SRG2_SRGConstantBuffer . SRG2_m_index ] [ :: SRG2_SRGConstantBuffer . SRG2_m_rwTexCoord ] ;"
  32. "diffuse += :: SRG2_m_structArraya . m_a ;"
  33. "diffuse += :: SRG2_m_structArrayb [ :: SRG2_SRGConstantBuffer . SRG2_m_index ] . m_b ;"