// Copyright (c) 2022 Advanced Micro Devices, Inc. All rights reserved. // // This file is part of the AMD Render Pipeline Shaders SDK which is // released under the AMD INTERNAL EVALUATION LICENSE. // // See file LICENSE.RTF for full license details. graphics node Triangle(rtv renderTarget : SV_Target0, uint triangleId ); export void main([readonly(present)] texture backbuffer) { // clear and then render geometry to back buffer clear(backbuffer, float4(0.0, 0.2, 0.4, 1.0)); Triangle(backbuffer, 0); }