Bug 75355 - brw_fs.h:135:37: error: invalid conversion from 'unsigned int' to 'brw_reg_type' [-fpermissive]
Summary: brw_fs.h:135:37: error: invalid conversion from 'unsigned int' to 'brw_reg_ty...
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) All
: medium blocker
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2014-02-22 07:10 UTC by Vinson Lee
Modified: 2014-02-22 07:53 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

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.