1. 28 Nov, 2020 6 commits
    • Gert Wollny's avatar
      r600/sfn: remove leftover debug message · 40ede410
      Gert Wollny authored
      Signed-off-by: Gert Wollny's avatarGert Wollny <gert.wollny@collabora.com>
      Part-of: <!7823>
      40ede410
    • Gert Wollny's avatar
      r600/sfn: remove unused file · 09313506
      Gert Wollny authored
      Signed-off-by: Gert Wollny's avatarGert Wollny <gert.wollny@collabora.com>
      Part-of: <!7823>
      09313506
    • Gert Wollny's avatar
      r600/sfn: Fix a few warnings in release builds · 166657a7
      Gert Wollny authored
      [1083/1142] Compiling C++ object src/gallium/drivers/r600/libr600.a.p/sfn_sfn_nir_lower_fs_out_to_vector.cpp.o
      ../src/gallium/drivers/r600/sfn/sfn_nir_lower_fs_out_to_vector.cpp: In member function ‘nir_ssa_def* r600::NirLowerFSOutToVector::create_combined_vector(nir_builder*, nir_ssa_def**, int, int)’:
      ../src/gallium/drivers/r600/sfn/sfn_nir_lower_fs_out_to_vector.cpp:442:48: warning: ‘op’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       nir_alu_instr * instr = nir_alu_instr_create(b->shader, op);
            |                            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
      
      [1092/1142] Compiling C++ object src/gallium/drivers/r600/libr600.a.p/sfn_sfn_nir.cpp.o
      ../src/gallium/drivers/r600/sfn/sfn_nir.cpp: In function ‘int r600_shader_from_nir(r600_context*, r600_pipe_shader*, r600_shader_key*)’:
      ../src/gallium/drivers/r600/sfn/sfn_nir.cpp:859:24: warning: unused variable ‘func’ [-Wunused-variable]
        859 |    const nir_function *func = reinterpret_cast<const nir_function *>(exec_list_get_head_const(&sel->nir->functions));
            |                        ^~~~
      
      [1118/1142] Compiling C++ object src/gallium/drivers/r600/libr600.a.p/sfn_sfn_shader_base.cpp.o
      ../src/gallium/drivers/r600/sfn/sfn_shader_base.cpp: In member function ‘void r600::ShaderFromNirProcessor::add_array_deref(nir_deref_instr*)’:
      ../src/gallium/drivers/r600/sfn/sfn_shader_base.cpp:300:18: warning: unused variable ‘var’ [-Wunused-variable]
        300 |    nir_variable *var = nir_deref_instr_get_variable(instr);
      Signed-off-by: Gert Wollny's avatarGert Wollny <gert.wollny@collabora.com>
      Part-of: <!7820>
      166657a7
    • Gert Wollny's avatar
      r600/sfn: fix definition of priority queue · 261f42f0
      Gert Wollny authored
      Closes #3889
      
      Fixes: b8fdcffc
         r600/sfn: Fix vertex stage export to accomodate IO lowering
      Signed-off-by: Gert Wollny's avatarGert Wollny <gert.wollny@collabora.com>
      Part-of: <!7820>
      261f42f0
    • Gert Wollny's avatar
      r600/sfn: correct error signalling in switch default case · feaecbee
      Gert Wollny authored
      This is unreachable, and in release mode it should also indicated that
      the function will not return something useful here. Also add a default
      return value just in case a compiler doesn't support the "unreachable"
      Thanks Dieter Nützel for pointing this error out.
      
      Fixes: b6c17e2965621a46eb07ba2605d9f9e221a400b
        r600/sfn: lower IO for FS inputs and handle interpolation accordingly
      Signed-off-by: Gert Wollny's avatarGert Wollny <gert.wollny@collabora.com>
      Part-of: <!7820>
      feaecbee
    • James Park's avatar
      amd: Simplify ac_addrlib_create · bb1adece
      James Park authored
      Rework ac_addrlib_create to rely solely on radeon_info without
      amdgpu_gpu_info.
      
      No longer need <amdgpu.h> to create ac_addrlib instance.
      Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
      Part-of: <!7811>
      bb1adece
  2. 27 Nov, 2020 16 commits
  3. 26 Nov, 2020 3 commits
  4. 25 Nov, 2020 13 commits
  5. 24 Nov, 2020 2 commits