summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_link.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2015-11-30 15:47:13 -0800
committerKenneth Graunke <kenneth@whitecape.org>2016-09-20 20:08:20 -0700
commit9694b23f66f4c41407289fb7d3ff25321042ef49 (patch)
tree191463d5f9a54ef0d4c49fa2d504a9e5d37486a8 /src/mesa/drivers/dri/i965/brw_link.cpp
parent8fec9fbb9f78c1cbc539b28cd914fe366fa7e344 (diff)
downloadexternal_mesa3d-9694b23f66f4c41407289fb7d3ff25321042ef49.zip
external_mesa3d-9694b23f66f4c41407289fb7d3ff25321042ef49.tar.gz
external_mesa3d-9694b23f66f4c41407289fb7d3ff25321042ef49.tar.bz2
i965: Rename intelScreen to screen.
"intelScreen" is wordy and also doesn't fit our style guidelines. "screen" is shorter, which is nice, because we use it fairly often. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_link.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_link.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_link.cpp b/src/mesa/drivers/dri/i965/brw_link.cpp
index 2b1fa61..f5dbfcf 100644
--- a/src/mesa/drivers/dri/i965/brw_link.cpp
+++ b/src/mesa/drivers/dri/i965/brw_link.cpp
@@ -92,7 +92,7 @@ process_glsl_ir(gl_shader_stage stage,
struct gl_linked_shader *shader)
{
struct gl_context *ctx = &brw->ctx;
- const struct brw_compiler *compiler = brw->intelScreen->compiler;
+ const struct brw_compiler *compiler = brw->screen->compiler;
const struct gl_shader_compiler_options *options =
&ctx->Const.ShaderCompilerOptions[shader->Stage];
@@ -210,7 +210,7 @@ extern "C" GLboolean
brw_link_shader(struct gl_context *ctx, struct gl_shader_program *shProg)
{
struct brw_context *brw = brw_context(ctx);
- const struct brw_compiler *compiler = brw->intelScreen->compiler;
+ const struct brw_compiler *compiler = brw->screen->compiler;
unsigned int stage;
for (stage = 0; stage < ARRAY_SIZE(shProg->_LinkedShaders); stage++) {