summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_llvm.c
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2014-07-09 21:17:32 -0400
committerIlia Mirkin <[email protected]>2014-07-09 22:31:51 -0400
commitb8db6db8b092849a8578e0d7ba54f34072edd0f4 (patch)
treeee125f1902a143c0379288314cae65a2f800a37e /src/gallium/drivers/r600/r600_llvm.c
parenta432079400f63c44fadb11b93c3ff8fb916159cf (diff)
i965: forward-declare struct brw_context in brw_reg.h
Commit 54e91e7420 introduced a function declaration that uses brw_context. While brw_context tends to get included in most files, it is not when compiling intel_asm_annotation.c resulting in the following warning: In file included from brw_shader.h:25:0, from brw_cfg.h:32, from intel_asm_annotation.c:24: brw_reg.h:122:39: warning: 'struct brw_context' declared inside parameter list [enabled by default] brw_reg.h:122:39: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] Add a forward-declaration for struct brw_context to avoid the issue. Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_llvm.c')
0 files changed, 0 insertions, 0 deletions