Bug 96247

Summary: nir_lower_tex.c:202:11: error: field designator cannot initialize a non-struct, non-union type 'float [4]'
Product: Mesa Reporter: Vinson Lee <vlee>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED INVALID QA Contact: mesa-dev
Severity: normal    
Priority: medium Keywords: regression
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Vinson Lee 2016-05-27 17:51:55 UTC
mesa: 0482efdc93f130a1defa021e5d198bc6ef59af5a (master 11.3.0-devel)

  CC       nir/nir_lower_tex.lo
nir/nir_lower_tex.c:202:11: error: field designator cannot initialize a non-struct, non-union type 'float [4]'
      { { .f32 = { 1.0f,  0.0f,         1.59602678f, 0.0f } } },
          ^
nir/nir_lower_tex.c:203:11: error: field designator cannot initialize a non-struct, non-union type 'float [4]'
      { { .f32 = { 1.0f, -0.39176229f, -0.81296764f, 0.0f } } },
          ^
nir/nir_lower_tex.c:204:11: error: field designator cannot initialize a non-struct, non-union type 'float [4]'
      { { .f32 = { 1.0f,  2.01723214f,  0.0f,        0.0f } } }
          ^

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.