// get-attribute-at-vertex.slang.hlsl //TEST_IGNORE_FILE: [shader("pixel")] void main( nointerpolation vector color_0 : COLOR, vector bary_0 : SV_BARYCENTRICS, out vector result_0 : SV_TARGET) { result_0 = bary_0.x * GetAttributeAtVertex(color_0, 0U) + bary_0.y * GetAttributeAtVertex(color_0, 1U) + bary_0.z * GetAttributeAtVertex(color_0, 2U); }