anv: remove unnecessary runtime copy of static string
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 17 Jul 2018 15:58:22 +0000 (16:58 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Mon, 23 Jul 2018 16:56:08 +0000 (17:56 +0100)
commite6e22e42076445fadc1f46b5eb18e79dbcf8d846
tree2c2948d9335fc9a7ba01c3a088727688789d0bd0
parent54f8f1545fefd4a3e4dd6d025dd41ce521494ea4
anv: remove unnecessary runtime copy of static string

It's actually also a bit safer, since now the compiler will warn if
the string is larger than the `.name` array.

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_gem.c