intel: fix mulitple descriptor sets/regions
authorChia-I Wu <olv@lunarg.com>
Thu, 12 Feb 2015 17:15:42 +0000 (10:15 -0700)
committerChia-I Wu <olv@lunarg.com>
Thu, 12 Feb 2015 20:28:48 +0000 (13:28 -0700)
commit2f0cba81853892883d746b020b53b87cacfcc3f9
treeb08dc0ad3ce32312b9b18c77366ea7c8bb3968b4
parent9a056ddeed29d71c79413f8ca84eadbf13bb1421
intel: fix mulitple descriptor sets/regions

Without adding set->pool_begin to the offsets provided by rmap, we always read
from the beginning of the descriptor pool.  Replace the error-prone
intel_desc_pool_read_*() by intel_desc_set_read_*() to get automatic
offsetting.
icd/intel/cmd_pipeline.c
icd/intel/desc.c
icd/intel/desc.h