summaryrefslogtreecommitdiff
path: root/src/intel/compiler/brw_eu_validate.c
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2019-11-11 16:11:34 -0800
committerMarge Bot <eric+marge@anholt.net>2020-01-22 00:19:21 +0000
commit22462ba242d4b1ca63fb867668d5ef19ef1dff6e (patch)
treea9f8e6fb17c859ea5061c0eb672e374e08520488 /src/intel/compiler/brw_eu_validate.c
parent72cf63cfc63ca7789ca9f6f62477a7f55a80cad7 (diff)
downloadmesa-22462ba242d4b1ca63fb867668d5ef19ef1dff6e.tar.gz
intel/compiler: Validate fuzzed instructions
... before giving them to the instruction compactor. Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2635>
Diffstat (limited to 'src/intel/compiler/brw_eu_validate.c')
-rw-r--r--src/intel/compiler/brw_eu_validate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_eu_validate.c b/src/intel/compiler/brw_eu_validate.c
index e2bb552c720..3b802d3b355 100644
--- a/src/intel/compiler/brw_eu_validate.c
+++ b/src/intel/compiler/brw_eu_validate.c
@@ -1937,7 +1937,7 @@ instruction_restrictions(const struct gen_device_info *devinfo,
return error_msg;
}
-static bool
+bool
brw_validate_instruction(const struct gen_device_info *devinfo,
const brw_inst *inst, int offset,
struct disasm_info *disasm)