Bug 95182

Summary: anv_nir_apply_dynamic_offsets.c: error: too few arguments to function ‘nir_build_imm’
Product: Mesa Reporter: LoneVVolf <lonewolf>
Component: Drivers/Vulkan/intelAssignee: Intel 3D Bugs Mailing List <intel-3d-bugs>
Status: RESOLVED FIXED QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium CC: fademind
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description LoneVVolf 2016-04-28 11:43:39 UTC
Build failure, git version 7e7710a .

  CC       libvulkan_intel_la-anv_wsi_x11.lo
anv_nir_apply_dynamic_offsets.c: In function ‘apply_dynamic_offsets_block’:
anv_nir_apply_dynamic_offsets.c:123:13: error: incompatible type for argument 3 of ‘nir_build_imm’
             (nir_const_value) { .u32 = { 0, 0, 0, 0 } });
             ^
In file included from anv_nir_apply_dynamic_offsets.c:25:0:
../../../src/compiler/nir/nir_builder.h:91:1: note: expected ‘unsigned int’ but argument is of type ‘nir_const_value {aka struct <anonymous>}’
 nir_build_imm(nir_builder *build, unsigned num_components,
 ^
anv_nir_apply_dynamic_offsets.c:122:30: error: too few arguments to function ‘nir_build_imm’
          nir_ssa_def *zero = nir_build_imm(b, intrin->num_components,
                              ^
In file included from anv_nir_apply_dynamic_offsets.c:25:0:
../../../src/compiler/nir/nir_builder.h:91:1: note: declared here
 nir_build_imm(nir_builder *build, unsigned num_components,
 ^
Makefile:1514: recipe for target 'libvulkan_intel_la-anv_nir_apply_dynamic_offsets.lo' failed
make[4]: *** [libvulkan_intel_la-anv_nir_apply_dynamic_offsets.lo] Error 1
Comment 1 LoneVVolf 2016-04-28 11:47:02 UTC
Full build log here: http://pastebin.com/ig85iBwK
Comment 2 Mark Janes 2016-04-28 17:55:11 UTC
fixed by 6028a67641741cb4e14265440282481441efa9c8

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.