diff options
| author | Chris Forbes <chrisforbes@google.com> | 2016-01-22 15:28:30 +1300 |
|---|---|---|
| committer | Jon Ashburn <jon@lunarg.com> | 2016-01-22 16:47:34 -0700 |
| commit | feee791c13ddb435d22e42811dfcdfd2ab82830f (patch) | |
| tree | 5a98a41adb7361854ff660c13dd45a9ca294f568 /icd | |
| parent | 6f857357936711e99efa2017ca5fe92ed3d5ccb4 (diff) | |
| download | usermoji-feee791c13ddb435d22e42811dfcdfd2ab82830f.tar.xz | |
nulldrv: Set memory type mask for buffers.
Signed-off-by: Chris Forbes <chrisforbes@google.com>
Diffstat (limited to 'icd')
| -rw-r--r-- | icd/nulldrv/nulldrv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/icd/nulldrv/nulldrv.c b/icd/nulldrv/nulldrv.c index 68dbe2c3..8778c447 100644 --- a/icd/nulldrv/nulldrv.c +++ b/icd/nulldrv/nulldrv.c @@ -391,6 +391,7 @@ static VkResult buf_get_memory_requirements(struct nulldrv_base *base, pMemoryRequirements->size = buf->size; pMemoryRequirements->alignment = 4096; + pMemoryRequirements->memoryTypeBits = 1; /* nulldrv only has one memory type */ return VK_SUCCESS; } |
