Changes

Jump to navigation Jump to search
201 bytes added ,  02:49, 16 November 2014
added JMPU/JMPC
Line 188: Line 188:  
|  IF?
 
|  IF?
 
|  If condition (don't know how condition flags work yet) is true, then executes instructions until DST, then jumps to DST+NUM; else, jumps to DST
 
|  If condition (don't know how condition flags work yet) is true, then executes instructions until DST, then jumps to DST+NUM; else, jumps to DST
 +
|-
 +
|  0x29
 +
|  3
 +
|  JMPU?
 +
|  Jumps to DST if BOOL is true, else does nothing.
 
|-
 
|-
 
|  0x2A
 
|  0x2A
Line 198: Line 203:  
|  SETEMIT
 
|  SETEMIT
 
|  (geometry shader only) Sets VTXID and PRIMID for the next EMIT instruction. VTXID is the ID of the vertex about to be emitted within the primitive, while PRIMID is zero if we are just emitting a single vertex and non-zero if are emitting a vertex and primitive simultaneously. Note that the output vertex buffer (which holds 4 vertices) is '''not''' cleared when the primitive is emitted, meaning that vertices from the previous primitive can be reused for the current one. (this is still a working hypothesis and unconfirmed)
 
|  (geometry shader only) Sets VTXID and PRIMID for the next EMIT instruction. VTXID is the ID of the vertex about to be emitted within the primitive, while PRIMID is zero if we are just emitting a single vertex and non-zero if are emitting a vertex and primitive simultaneously. Note that the output vertex buffer (which holds 4 vertices) is '''not''' cleared when the primitive is emitted, meaning that vertices from the previous primitive can be reused for the current one. (this is still a working hypothesis and unconfirmed)
 +
|-
 +
|  0x2C
 +
|  2
 +
|  JMPC?
 +
|  Jumps to DST if condition (don't know how condition flags work yet) is true, else does nothing.
 
|-
 
|-
 
|  0x2E
 
|  0x2E
373

edits

Navigation menu