diff options
author | Paul Berry <[email protected]> | 2013-03-21 09:11:12 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-08-23 11:03:15 -0700 |
commit | 96eb2f353605b382cf4fc930cc1d322130b12270 (patch) | |
tree | 01d651c84b1db28fd9f570a5515927e074db0b79 /src/mesa/drivers/dri/i965/brw_defines.h | |
parent | eaa63cbbc2f5ae415fc89ef6fd74c5b26ad622fd (diff) |
i965/gs: Add GS_OPCODE_URB_WRITE.
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_defines.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_defines.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_defines.h b/src/mesa/drivers/dri/i965/brw_defines.h index 2ab0a2b00eb..16a1dbc0227 100644 --- a/src/mesa/drivers/dri/i965/brw_defines.h +++ b/src/mesa/drivers/dri/i965/brw_defines.h @@ -799,6 +799,15 @@ enum opcode { VS_OPCODE_PULL_CONSTANT_LOAD, VS_OPCODE_PULL_CONSTANT_LOAD_GEN7, VS_OPCODE_UNPACK_FLAGS_SIMD4X2, + + /** + * Write geometry shader output data to the URB. + * + * Unlike VS_OPCODE_URB_WRITE, this opcode doesn't do an implied move from + * R0 to the first MRF. This allows the geometry shader to override the + * "Slot {0,1} Offset" fields in the message header. + */ + GS_OPCODE_URB_WRITE, }; #define BRW_PREDICATE_NONE 0 |