upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src
diff options
context:
space:
mode:
authortedin7 <tommasoderosa94@gmail.com>2026-11-23 21:53:37 +0100
committerQemmHD <290605352+QemmHD@users.noreply.github.com>2026-11-24 05:10:18 -0500
commitee9db97988cb8c8ee36ab835becffb3b9e1d6bae (patch)
tree0513ac4bdc1a4d67163a99e4f5dbdd9c95d3b6a9 /runtime/src
parent0bd3c99d69d5f794eec29695e22ca46812300e4b (diff)
d3d12: rect list test: every pixel well inside a non-right triangle is drawn; geometry notes edges are measured in NDC
Diffstat (limited to 'runtime/src')
-rw-r--r--runtime/src/rect_list_geometry.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/src/rect_list_geometry.h b/runtime/src/rect_list_geometry.h
index 69b52f7e7..e90173095 100644
--- a/runtime/src/rect_list_geometry.h
+++ b/runtime/src/rect_list_geometry.h
@@ -18,6 +18,10 @@
18// rectangle. Every Location output of the vertex stage is a vec4 float in the translator's output (rdna2spirv.py), 18// rectangle. Every Location output of the vertex stage is a vec4 float in the translator's output (rdna2spirv.py),
19// and so is the stage's Position; the generated stage reads and writes exactly those. 19// and so is the stage's Position; the generated stage reads and writes exactly those.
20// 20//
21// The edges are measured in normalized device coordinates, not pixels (the stage does not know the viewport). For the
22// usual axis-aligned rectangle that is exact; a rotated rectangle drawn into a very non-square viewport can pick a
23// different corner than the pixel-space right angle.
24//
21// Not covered, and refused with a reason: a vertex stage that writes ClipDistance, CullDistance, Layer or 25// Not covered, and refused with a reason: a vertex stage that writes ClipDistance, CullDistance, Layer or
22// ViewportIndex, or a Location output that is not a vec4 float. 26// ViewportIndex, or a Location output that is not a vec4 float.
23// 27//