Skip to content
  1. Jul 23, 2018
  2. Jul 22, 2018
  3. Jul 21, 2018
    • maurossi's avatar
      android: util/disk_cache: fix building errors in gallium drivers · 6cbbd5b4
      maurossi authored
      
      
      This patch applies the necessary changes in Android.common.mk
      as per automake rules, to avoid following building error:
      
      external/mesa/src/gallium/drivers/nouveau/nouveau_screen.c:159:8:
      error: implicit declaration of function 'disk_cache_get_function_timestamp'
      is invalid in C99 [-Werror,-Wimplicit-function-declaration]
         if (disk_cache_get_function_timestamp(nouveau_disk_cache_create,
             ^
      1 error generated.
      
      (v2) -DENABLE_SHADER_CACHE Android cflag is kept, to leave the AS-IS capability enabled
      
      Fixes: cc10b34e ("util/disk_cache: Fix disk_cache_get_function_timestamp with disabled cache.")
      Signed-off-by: default avatarMauro Rossi <issor.oruam@gmail.com>
      Reviewed-by: default avatarBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
      6cbbd5b4
    • Chih-Wei Huang's avatar
      Android: fix a missing nir_intrinsics.h error · e7ffd3fb
      Chih-Wei Huang authored and maurossi's avatar maurossi committed
      
      
      The commit 76dfed8a changed nir_intrinsics.h to be a generated
      header, but the corresponding dependency was not updated for Android.
      It causes the error:
      
      [  0% 19/4336] target  C: libmesa_pipe_radeonsi <= external/mesa/src/gallium/drivers/radeonsi/si_debug.c
      ...
      In file included from external/mesa/src/gallium/drivers/radeonsi/si_debug.c:25:
      In file included from external/mesa/src/gallium/drivers/radeonsi/si_pipe.h:28:
      In file included from external/mesa/src/gallium/drivers/radeonsi/si_shader.h:140:
      In file included from external/mesa/src/amd/common/ac_llvm_build.h:30:
      external/mesa/src/compiler/nir/nir.h:966:10: fatal error: 'nir_intrinsics.h' file not found
               ^~~~~~~~~~~~~~~~~~
      1 error generated.
      
      Fixes: 76dfed8a ("nir: mako all the intrinsics")
      Signed-off-by: default avatarChih-Wei Huang <cwhuang@linux.org.tw>
      Reviewed-by: default avatarTapani Pälli <tapani.palli@intel.com>
      Reviewed-by: default avatarMauro Rossi <issor.oruam@gmail.com>
      e7ffd3fb
  4. Jul 20, 2018
  5. Jul 19, 2018
    • Rhys Perry's avatar
      nv50/ir: move LateAlgebraicOpt back to right after ConstantFolding · 409a60df
      Rhys Perry authored and Karol Herbst's avatar Karol Herbst committed
      total instructions in shared programs : 5480808 -> 5472107 (-0.16%)
      total gprs used in shared programs    : 647530 -> 647532 (0.00%)
      total shared used in shared programs  : 389120 -> 389120 (0.00%)
      total local used in shared programs   : 21064 -> 21064 (0.00%)
      total bytes used in shared programs   : 58551648 -> 58459352 (-0.16%)
      
                      local     shared        gpr       inst      bytes
          helped           0           0          73        2609        2609
            hurt           0           0          71          34          34
      409a60df
    • Rhys Perry's avatar
      nv50/ir: handle SHLADD in IndirectPropagation · 2afef231
      Rhys Perry authored and Karol Herbst's avatar Karol Herbst committed
      An alternative solution to the problem fixed in
      0bd83d04 ("nv50/ir: move LateAlgebraicOpt to the very end").
      
      total instructions in shared programs : 5481195 -> 5480808 (-0.01%)
      total gprs used in shared programs    : 647535 -> 647530 (-0.00%)
      total shared used in shared programs  : 389120 -> 389120 (0.00%)
      total local used in shared programs   : 21064 -> 21064 (0.00%)
      total bytes used in shared programs   : 58555784 -> 58551648 (-0.01%)
      
                      local     shared        gpr       inst      bytes
          helped           0           0           2          34          34
            hurt           0           0           0           0           0
      2afef231
Loading