summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_gs.c
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_gs.c
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_gs.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_gs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_gs.c b/src/mesa/drivers/dri/i965/brw_gs.c
index 152013f..2b472c6 100644
--- a/src/mesa/drivers/dri/i965/brw_gs.c
+++ b/src/mesa/drivers/dri/i965/brw_gs.c
@@ -97,7 +97,7 @@ brw_codegen_gs_prog(struct brw_context *brw,
struct brw_geometry_program *gp,
struct brw_gs_prog_key *key)
{
- struct brw_compiler *compiler = brw->intelScreen->compiler;
+ struct brw_compiler *compiler = brw->screen->compiler;
struct brw_stage_state *stage_state = &brw->gs.base;
struct brw_gs_prog_data prog_data;
bool start_busy = false;
@@ -105,7 +105,7 @@ brw_codegen_gs_prog(struct brw_context *brw,
memset(&prog_data, 0, sizeof(prog_data));
- assign_gs_binding_table_offsets(brw->intelScreen->devinfo, prog,
+ assign_gs_binding_table_offsets(brw->screen->devinfo, prog,
&gp->program.Base, &prog_data);
/* Allocate the references to the uniforms that will end up in the
@@ -139,7 +139,7 @@ brw_codegen_gs_prog(struct brw_context *brw,
((1 << gp->program.Base.CullDistanceArraySize) - 1) <<
gp->program.Base.ClipDistanceArraySize;
- brw_compute_vue_map(brw->intelScreen->devinfo,
+ brw_compute_vue_map(brw->screen->devinfo,
&prog_data.base.vue_map, outputs_written,
prog->SeparateShader);
@@ -159,7 +159,7 @@ brw_codegen_gs_prog(struct brw_context *brw,
unsigned program_size;
char *error_str;
const unsigned *program =
- brw_compile_gs(brw->intelScreen->compiler, brw, mem_ctx, key,
+ brw_compile_gs(brw->screen->compiler, brw, mem_ctx, key,
&prog_data, gs->Program->nir, prog,
st_index, &program_size, &error_str);
if (program == NULL) {