diff options
author | Jason Ekstrand <[email protected]> | 2017-04-23 18:25:17 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-05-04 19:07:54 -0700 |
commit | 367031a5c82b62ec3359dab862387e679093c9b7 (patch) | |
tree | 170eb0651d62cd4784aa2b26392673f53f5c9623 /src/intel/vulkan/gen8_cmd_buffer.c | |
parent | e86aeecb6aa3cf5992bb87792c2219f49c905e05 (diff) |
anv: Get rid of a bunch of uses of size_t
We should only use size_t when referring to sizes of bits of CPU memory.
Anything on the GPU or just a regular array length should be a type that
has the same size on both 32 and 64-bit architectures. For state
objects, we use a uint32_t because we'll never allocate a piece of
driver-internal GPU state larger than 2GB (more like 16KB).
Reviewed-by: Juan A. Suarez Romero <[email protected]>
Diffstat (limited to 'src/intel/vulkan/gen8_cmd_buffer.c')
0 files changed, 0 insertions, 0 deletions