commit | 024b7c0f33a6e8f59d8b3d9dd9f72d671f426890 | [log] [tgz] |
---|---|---|
author | Iago Toral Quiroga <itoral@igalia.com> | Thu Jul 24 12:14:27 2014 +0200 |
committer | Iago Toral Quiroga <itoral@igalia.com> | Fri Sep 19 15:01:15 2014 +0200 |
tree | e4989ea4117e05faf30236c821973568905d8f7e | |
parent | c091804f4cd282bfc03b02a7ef6c72e5f42f6c76 [diff] |
i965/gen6/gs: Implement GS_OPCODE_SET_PRIMITIVE_ID. In gen6 the geometry shader payload includes the PrimitiveID information in r0.1. When the shader code uses glPimitiveIdIn we will have to move this to a separate hardware register where we can map this attribute. This opcode takes the selected destination register and moves r0.1 there. Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>