anv: improve error reporting when creating pipelines
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 9 Mar 2017 13:37:26 +0000 (14:37 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Thu, 16 Mar 2017 10:40:05 +0000 (11:40 +0100)
commitca34a3125f671a63b390e19a2c170c0380a228d7
tree947a9d7026818167a8683246c655b2ddc4e04a0d
parent1d7468311d99c2da666fa98514592edf923dd195
anv: improve error reporting when creating pipelines

Specifically, report 'out of memory' errors that might have happened while
emitting the pipeline's batch.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/intel/vulkan/anv_pipeline.c
src/intel/vulkan/genX_pipeline.c