i965: annotate brw_oa.py's --header and --code as required
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 20 Mar 2018 16:23:05 +0000 (16:23 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 20 Mar 2018 17:21:49 +0000 (17:21 +0000)
commitc43715d30b754b6e3e4ea0bfc0f7cee9e403211a
tree861a58dbc0c4f71e0f7f6974a815b49279084d46
parentd3e5d3955c1232aa405cf9ac3af65d4d377fd81a
i965: annotate brw_oa.py's --header and --code as required

As of earlier commit, the --header was made a hard requirement when
using --code.

Hence - annotate both as required and drop a few no longer needed
checks.

Fixes: 035cc7a12dc0 ("i965: perf: reduce i965 binary size")
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/mesa/drivers/dri/i965/brw_oa.py