mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 01:10:16 +01:00
i965/cs: drop explicit initialisers in C++ file
gcc 4.4.7 really doesn't like them, and they aren't standard C++, they seem to be a gcc extension. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
c696a318ef
commit
71fc52072b
1 changed files with 6 additions and 4 deletions
|
|
@ -368,9 +368,11 @@ brw_upload_cs_state(struct brw_context *brw)
|
|||
|
||||
extern "C"
|
||||
const struct brw_tracked_state brw_cs_state = {
|
||||
.dirty = {
|
||||
.mesa = 0,
|
||||
.brw = BRW_NEW_CS_PROG_DATA,
|
||||
/* explicit initialisers aren't valid C++, comment
|
||||
* them for documentation purposes */
|
||||
/* .dirty = */{
|
||||
/* .mesa = */ 0,
|
||||
/* .brw = */ BRW_NEW_CS_PROG_DATA,
|
||||
},
|
||||
.emit = brw_upload_cs_state
|
||||
/* .emit = */ brw_upload_cs_state
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue