KhronosGroup / SPIRV-Tools

Apache License 2.0
1.09k stars 559 forks source link

opt: Update copy prop arrays to handle InterpolateAt* instructions #5827

Closed cassiebeckley closed 1 month ago

cassiebeckley commented 1 month ago

Adds support for InterpolateAtCentroid, InterpolateAtSample, and InterpolateAtOffset to the copy propagate arrays pass, as well as propagating pointers with the Input storage class. Also handles situations where variables should be propagated in an order different than the order that they are declared in the source.

cassiebeckley commented 1 month ago

@s-perron the discussed changes have been finished