slang icon indicating copy to clipboard operation
slang copied to clipboard

Fix unused struct in sample shader

Open yknishidate opened this issue 1 year ago • 1 comments

Hi, I'm new here.

I was looking at the triangle sample and noticed that it declared a struct Fragment for the fragment shader output but didn't actually use it, so I decided to fix that.

Of course, I could have just deleted Fragment, but I chose to use it to demonstrate that we can use a custom struct for output.

yknishidate avatar Nov 23 '24 16:11 yknishidate

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Nov 23 '24 16:11 CLAassistant