Bug 95182 - anv_nir_apply_dynamic_offsets.c: error: too few arguments to function ‘nir_build_imm’
Summary: anv_nir_apply_dynamic_offsets.c: error: too few arguments to function ‘nir_bu...
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Vulkan/intel (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel 3D Bugs Mailing List
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-28 11:43 UTC by LoneVVolf
Modified: 2016-04-28 17:55 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.