commit | fa6cac730ca48f6202a8f35d79db34cb3f3b9df8 | [log] [tgz] |
---|---|---|
author | Tony Barbour <tony@LunarG.com> | Fri Jan 16 14:27:35 2015 -0700 |
committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | Wed Feb 04 17:58:08 2015 -0700 |
tree | acc97b58dbc55b81da493567adb2a35b20e06abe | |
parent | 5f5a618fd212f104d7fc1e0907612b4c9196f6db [diff] [blame] |
driver:implement changes for Dynamic State
diff --git a/icd/intel/buf.c b/icd/intel/buf.c index f783eec..e257f1b 100644 --- a/icd/intel/buf.c +++ b/icd/intel/buf.c
@@ -46,6 +46,7 @@ case XGL_INFO_TYPE_MEMORY_REQUIREMENTS: { XGL_MEMORY_REQUIREMENTS *mem_req = data; + static XGL_UINT heapInfo[1]; *size = sizeof(XGL_MEMORY_REQUIREMENTS); if (data == NULL) @@ -65,7 +66,7 @@ mem_req->alignment = 4096; mem_req->heapCount = 1; - mem_req->heaps[0] = 0; + mem_req->pHeaps = heapInfo; } break;