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

Validate VC4 GPU supports texture that is not aligned to tile/sub-tile/micro-tile dimension #32

Open indygit opened 8 years ago

indygit commented 8 years ago

For example a 3x3 R8G8B8A8 is smaller than a 4x4 micro-tile, my understanding is that we need to pad the texture to a micro-tile, and set 3x3 for texture width and height in "Texture Config Parameter 1" (Spec Page 41 Table 16). The validation is to sample the whole texture without seeing what is in the padding.