Bug 75355

Summary: brw_fs.h:135:37: error: invalid conversion from 'unsigned int' to 'brw_reg_type' [-fpermissive]
Product: Mesa Reporter: Vinson Lee <vlee>
Component: OtherAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: blocker    
Priority: medium CC: kenneth, mattst88
Version: unspecifiedKeywords: regression
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Vinson Lee 2014-02-22 07:10:10 UTC
mesa: 760c6777a0530b4894dec564cdf218f5364b4df1 (master)

  CXX      brw_blorp_blit.lo
In file included from brw_blorp_blit_eu.h:28:0,
                 from brw_blorp_blit.cpp:32:
brw_fs.h: In function 'fs_reg retype(fs_reg, unsigned int)':
brw_fs.h:135:37: error: invalid conversion from 'unsigned int' to 'brw_reg_type' [-fpermissive]
    reg.fixed_hw_reg.type = reg.type = type;
                                     ^
Comment 1 Vinson Lee 2014-02-22 07:19:33 UTC
5ceadd29b0af835d741bcf09b9622c628e549ae6 is the first bad commit
commit 5ceadd29b0af835d741bcf09b9622c628e549ae6
Author: Matt Turner <mattst88@gmail.com>
Date:   Wed Feb 19 18:38:40 2014 -0800

    i965/fs: Make fs_reg's type an enum for better debugging.
    
    Since the enum is marked as packed, it'll still take only one byte.
    
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>

:040000 040000 4e079d32a97e38126711ae9d925631323e827fa8 859edc6709520c9dcac400a00386648e012d2324 M	src
bisect run success
Comment 2 Matt Turner 2014-02-22 07:53:07 UTC
I've pushed a revert. I'll fix that patch up and recommit soon.

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.