aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-01-14 20:27:51 -0800
committerJason Ekstrand <[email protected]>2016-01-15 16:44:02 -0800
commit9870f798beab701a9edda81ff7ccc39f1875d610 (patch)
treeff53401eff47de252d4d0ff0d71de9fcc2ebad9e /src/mesa/drivers/dri/i965/brw_fs.h
parent0a6811207fbe18d49c7ab95f93ed01f75ffcdda0 (diff)
i965/fs/generator: Take an actual shader stage rather than a string
Cc: "11.1" <[email protected]> Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.h4
1 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 372f7606cef..9a54c2dd0be 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.h
+++ b/src/mesa/drivers/dri/i965/brw_fs.h
@@ -425,7 +425,7 @@ public:
struct brw_stage_prog_data *prog_data,
unsigned promoted_constants,
bool runtime_check_aads_emit,
- const char *stage_abbrev);
+ gl_shader_stage stage);
~fs_generator();
void enable_debug(const char *shader_name);
@@ -536,7 +536,7 @@ private:
bool runtime_check_aads_emit;
bool debug_flag;
const char *shader_name;
- const char *stage_abbrev;
+ gl_shader_stage stage;
void *mem_ctx;
};