Skip to content

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

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

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

Conversation

@EmilioLaiso
Copy link
Copy Markdown
Contributor

⚠️ Test should be passing on both DX and VK after #1127 lands in main.

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).

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