shader_attr.hlsl 241 B

123456789
  1. // RUN: %dxc -T lib_6_3 -auto-binding-space 11 %s | FileCheck %s
  2. // CHECK:attribute 'shader' must have one of these values: compute,vertex,pixel,hull,domain,geometry
  3. [shader("lib")]
  4. float4 ps_main(float4 a : A) : SV_TARGET
  5. {
  6. return a;
  7. }