mesa/src/amd/common
Samuel Pitoiset a1c37ff9e4 ac: add unreachable() in ac_build_image_opcode()
To silent the following compiler warning:

common/ac_llvm_build.c: In function ‘ac_build_image_opcode’:
common/ac_llvm_build.c:1080:3: warning: ‘name’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   snprintf(intr_name, sizeof(intr_name), "%s%s%s%s.v4f32.%s.v8i32",
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    name,
    ~~~~~
    a->compare ? ".c" : "",
    ~~~~~~~~~~~~~~~~~~~~~~~
    a->bias ? ".b" :
    ~~~~~~~~~~~~~~~~
    a->lod ? ".l" :
    ~~~~~~~~~~~~~~~
    a->deriv ? ".d" :
    ~~~~~~~~~~~~~~~~~
    a->level_zero ? ".lz" : "",
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    a->offset ? ".o" : "",
    ~~~~~~~~~~~~~~~~~~~~~~
    type);
    ~~~~~

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2017-04-10 23:02:12 +02:00
..
.gitignore ac/debug: move .gitignore for sid_tables.h too 2017-01-13 00:37:52 +01:00
ac_binary.c radeon/ac: make ac_shader_binary_config_start() available externally 2017-02-28 13:20:31 +11:00
ac_binary.h ac: consistently use ifndef guards over pragma once 2017-03-22 16:55:21 +00:00
ac_debug.c radeonsi/gfx9: add IB parser support 2017-03-30 14:44:33 +02:00
ac_debug.h ac/debug: Dump indirect buffers. 2017-01-09 21:44:08 +01:00
ac_llvm_build.c ac: add unreachable() in ac_build_image_opcode() 2017-04-10 23:02:12 +02:00
ac_llvm_build.h radeonsi/ac: move get_image_intr_name to common 2017-03-07 08:17:03 +10:00
ac_llvm_helper.cpp ac: fix build with LLVM 5.0svn 2017-03-22 17:54:42 +01:00
ac_llvm_util.c radv/ac: workaround regression in llvm 4.0 release 2017-03-15 09:51:53 +10:00
ac_llvm_util.h ac: consistently use ifndef guards over pragma once 2017-03-22 16:55:21 +00:00
ac_nir_to_llvm.c radv: fix interp at sample code. 2017-04-04 05:55:21 +10:00
ac_nir_to_llvm.h radv: overhaul fragment shader sample positions. 2017-04-04 05:55:15 +10:00
amd_family.h radeonsi/gfx9: add GFX9 and VEGA10 enums 2017-03-30 14:44:33 +02:00
amd_kernel_code_t.h radeonsi/compute: Use the HSA abi for non-TGSI compute shaders v3 2016-09-16 23:07:10 +00:00
amdgpu_id.h amd/addrlib: import gfx9 support 2017-03-30 14:44:33 +02:00
gfx9d.h radeonsi/gfx9: image descriptor changes in immutable fields 2017-03-30 14:44:33 +02:00
r600d_common.h amd: GFX9 packet changes 2017-03-30 14:44:33 +02:00
sid.h radeonsi/gfx9: CP DMA changes 2017-03-30 14:44:33 +02:00
sid_tables.py radeonsi/gfx9: add IB parser support 2017-03-30 14:44:33 +02:00