i965: Pass pointer and end of assembly to brw_validate_instructions
authorMatt Turner <mattst88@gmail.com>
Sat, 29 Apr 2017 00:05:44 +0000 (17:05 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 15 May 2017 18:42:47 +0000 (11:42 -0700)
commita7217e909ce6e7d17eea8fd65191bb87deb3b496
tree03645a2632c215dd70c1204fe3b88b344e66923c
parent8ca8ebbf78d6e5eacbd42dc245f503e0c9787268
i965: Pass pointer and end of assembly to brw_validate_instructions

This will allow us to more easily run brw_validate_instructions() on
shader programs we find in GPU hang error states.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/intel/compiler/brw_eu.h
src/intel/compiler/brw_eu_validate.c
src/intel/compiler/brw_fs_generator.cpp
src/intel/compiler/brw_vec4_generator.cpp
src/intel/compiler/test_eu_validate.cpp