Make XPS happy and remove some GPU address munging.

This commit is contained in:
Ben Vanik
2014-11-02 00:02:17 -07:00
parent 3ed9685244
commit 8c314225bb
7 changed files with 15 additions and 22 deletions

View File

@@ -53,7 +53,8 @@ int D3D11IndexBufferResource::InvalidateRegion(
SCOPE_profile_cpu_f("gpu");
// All that's done so far:
assert_true(info_.endianness == 0x2);
assert_true(info_.endianness == XE_GPU_ENDIAN_8IN16 ||
info_.endianness == XE_GPU_ENDIAN_8IN32);
D3D11_MAPPED_SUBRESOURCE res;
HRESULT hr = resource_cache_->context()->Map(