double-emission-static-sampler-antiregress.azsl 279 B

123456789101112131415
  1. ShaderResourceGroupSemantic slot1
  2. {
  3. FrequencyId = 1;
  4. };
  5. ShaderResourceGroup S : slot1
  6. {
  7. TextureCube<float4> t;
  8. static sampler grass {ComparisonFunc = Never;};
  9. };
  10. float4 MainPS(float2 uv : TEXCOORD0) : SV_Target0
  11. {
  12. return S::t.Sample(S::grass, float3(1,0,0));
  13. }