Re: [Mesa-dev] [PATCH mesa] anv: remove unnecessary runtime copy of static string

2018-07-17 Thread Jason Ekstrand
I didn't know that worked. Neat! Reviewed-by: Jason Ekstrand On Tue, Jul 17, 2018 at 9:41 AM Eric Engestrom wrote: > 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 > --- >

[Mesa-dev] [PATCH mesa] anv: remove unnecessary runtime copy of static string

2018-07-17 Thread Eric Engestrom
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 --- src/intel/vulkan/anv_gem.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/intel/vulkan/anv_gem.c