diff options
author | Iago Toral Quiroga <[email protected]> | 2017-03-13 12:58:44 +0100 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2017-03-13 13:09:24 +0100 |
commit | e8eeb759b78ecf33d1d01e8a8beb45455251f678 (patch) | |
tree | 383a4a58cbe6c90e10e55282361501a18d891ff8 /src/intel | |
parent | 8dee325752daf1850a1f497c82b30d0574a5b612 (diff) |
intel: fix compiler build
compiler/brw_vec4_gs_visitor.cpp:744:39: error:
‘GEN7_MAX_GS_OUTPUT_VERTEX_SIZE_BYTES’ was not declared in this scope
output_vertex_size_bytes <= GEN7_MAX_GS_OUTPUT_VERTEX_SIZE_BYTES);
Fixes: d0d4a5f43b4 ("i965: split EU defines to brw_eu_defines.h")
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/compiler/brw_eu_defines.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_eu_defines.h b/src/intel/compiler/brw_eu_defines.h index 5848f920448..f0b0d5c2a06 100644 --- a/src/intel/compiler/brw_eu_defines.h +++ b/src/intel/compiler/brw_eu_defines.h @@ -1240,6 +1240,13 @@ enum brw_message_target { /* GS Thread Payload */ + +/* 3DSTATE_GS "Output Vertex Size" has an effective maximum of 62. It's + * counted in multiples of 16 bytes. + */ +#define GEN7_MAX_GS_OUTPUT_VERTEX_SIZE_BYTES (62*16) + + /* R0 */ # define GEN7_GS_PAYLOAD_INSTANCE_ID_SHIFT 27 |