summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-06-14 22:53:40 -0700
committerMatt Turner <[email protected]>2014-06-17 10:18:33 -0700
commit836f4299e870a7cff04c2f646a37533d0e68ccd7 (patch)
tree48b9f0e28636616a2e5bbb9f0343bd1d9b383178 /src
parent83649587c6a10a99d00a01eb72a6563a61aaf8a7 (diff)
i965: Mark backend_instruction and bblock_t as structs.
They have to be marked as structs for C code elsewhere. bblock_t is already defined as a struct, and all of backend_instruction's fields are public anyway. Reviewed-by: Tapani Pälli <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.h2
-rw-r--r--src/mesa/drivers/dri/i965/brw_shader.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h
index 885c186bb39..b86a31c3771 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.h
+++ b/src/mesa/drivers/dri/i965/brw_fs.h
@@ -54,7 +54,7 @@ extern "C" {
#define MAX_SAMPLER_MESSAGE_SIZE 11
-class bblock_t;
+struct bblock_t;
namespace {
struct acp_entry;
}
diff --git a/src/mesa/drivers/dri/i965/brw_shader.h b/src/mesa/drivers/dri/i965/brw_shader.h
index cb47cdb46fe..e602bcd2fa4 100644
--- a/src/mesa/drivers/dri/i965/brw_shader.h
+++ b/src/mesa/drivers/dri/i965/brw_shader.h
@@ -43,7 +43,7 @@ enum PACKED register_file {
class cfg_t;
-class backend_instruction : public exec_node {
+struct backend_instruction : public exec_node {
public:
bool is_tex() const;
bool is_math() const;