Mesh primitive exports: corner indices are nine bits, the edge flags dropped (upstream c0228d9)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
26a801e21a
commit
77b82c9c22
3 files changed
+188
-7
No files matched your search
@@ -26,10 +26,10 @@
|
||||
//! index from the wave index (s3 bits 24-27) and the lane (`v_mbcnt`), and
|
||||
//! its group id from v5 of the first lane (`v_readfirstlane`: the group
|
||||
//! times the group size). Lane n exports vertex n (`exp pos`, `exp param`)
|
||||
//! and primitive n (`exp prim`: 10-bit vertex indices at bits 0, 10, 20,
|
||||
//! bit 31 culls); `param` entries with bit 7 are per-primitive outputs. One
|
||||
//! lane sends the output counts (`s_sendmsg` GS_ALLOC_REQ, m0 = vertices |
|
||||
//! primitives << 12).
|
||||
//! and primitive n (`exp prim`: 9-bit vertex indices at bits 0, 10, 20,
|
||||
//! each with an edge flag above it, bit 31 culls); `param` entries with
|
||||
//! bit 7 are per-primitive outputs. One lane sends the output counts
|
||||
//! (`s_sendmsg` GS_ALLOC_REQ, m0 = vertices | primitives << 12).
|
||||
|
||||
use crate::ShaderError;
|
||||
use crate::gfx10::{Fields, Operand};
|
||||
|
||||
Reference in new issue
Block a user