Skip to content

Add InterpolationModifiers.test for HLSL pixel-shader interpolation modifiers#1151

Open
EmilioLaiso wants to merge 2 commits into
llvm:mainfrom
Traverse-Research:interpolation-modifiers-test
Open

Add InterpolationModifiers.test for HLSL pixel-shader interpolation modifiers#1151
EmilioLaiso wants to merge 2 commits into
llvm:mainfrom
Traverse-Research:interpolation-modifiers-test

Conversation

@EmilioLaiso
Copy link
Copy Markdown
Collaborator

@EmilioLaiso EmilioLaiso commented May 5, 2026

Summary

Adds test/Feature/Semantics/InterpolationModifiers.test, exercising the four HLSL pixel-shader interpolation modifiers in a single VS+PS pipeline with BufferExact-style assertions on every interpolated value:

  • linear (default) — perspective-correct interpolation.
  • nointerpolation — provoking-vertex passthrough (flat).
  • noperspective — linear in screen space, no W correction.
  • centroid — same as linear under 1×SAMPLE.

Part of the rasterization-pipeline coverage epic (#1146).

@EmilioLaiso EmilioLaiso force-pushed the interpolation-modifiers-test branch from 51b2477 to 6f3df60 Compare May 11, 2026 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants