microsoft / graphics-driver-samples

This repository contains graphics driver samples used to demonstrate how to write graphics driver for the windows platform.
Other
381 stars 134 forks source link

Implement raspberry pi cubemap texture #23

Open indygit opened 8 years ago

indygit commented 8 years ago

This involves:

  1. Change RosUmdDevice::CreateResource to allocate memory correctly for cubemap texture
  2. Change shader compiler and RosUmdDevice::WriteUniforms() to properly set up Texture Config Parameters 2 and 3 (VC4 spec Section 4, Table 17)
  3. Make sure the cubemap are correctly sampled.