ac/nir,radeonsi: add ac_shader_abi::front_face

v2: update for LLVMValueRefs in ac_shader_abi

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
Nicolai Hähnle
2017-06-25 12:56:49 +02:00
parent 28634ff7d3
commit e247357240
3 changed files with 15 additions and 7 deletions

View File

@@ -44,6 +44,7 @@ struct ac_shader_abi {
LLVMValueRef draw_id;
LLVMValueRef vertex_id;
LLVMValueRef instance_id;
LLVMValueRef front_face;
/* For VS and PS: pre-loaded shader inputs.
*