summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2015-10-16 09:50:12 +0800
committerChia-I Wu <[email protected]>2015-10-18 21:04:52 +0800
commita445e0f7efcaa0ff21b5fe4faa3f73f3b73dcfe8 (patch)
tree32ca30a70707df24724de473b1fe536d32fe6cdf /src/gallium/drivers/ilo
parent6e132f4730a41baa36bf31c1b5f47933d07cee8c (diff)
ilo: remove some unused kernel params
Diffstat (limited to 'src/gallium/drivers/ilo')
-rw-r--r--src/gallium/drivers/ilo/ilo_shader.c16
-rw-r--r--src/gallium/drivers/ilo/ilo_shader.h6
2 files changed, 0 insertions, 22 deletions
diff --git a/src/gallium/drivers/ilo/ilo_shader.c b/src/gallium/drivers/ilo/ilo_shader.c
index 1ba3edce4ae..73b625e9de4 100644
--- a/src/gallium/drivers/ilo/ilo_shader.c
+++ b/src/gallium/drivers/ilo/ilo_shader.c
@@ -1248,9 +1248,6 @@ ilo_shader_get_kernel_param(const struct ilo_shader_state *shader,
case ILO_KERNEL_SAMPLER_COUNT:
val = shader->info.num_samplers;
break;
- case ILO_KERNEL_URB_DATA_START_REG:
- val = kernel->in.start_grf;
- break;
case ILO_KERNEL_SKIP_CBUF0_UPLOAD:
val = kernel->skip_cbuf0_upload;
break;
@@ -1302,9 +1299,6 @@ ilo_shader_get_kernel_param(const struct ilo_shader_state *shader,
case ILO_KERNEL_VS_GEN6_SO:
val = kernel->stream_output;
break;
- case ILO_KERNEL_VS_GEN6_SO_START_REG:
- val = kernel->gs_start_grf;
- break;
case ILO_KERNEL_VS_GEN6_SO_POINT_OFFSET:
val = kernel->gs_offsets[0];
break;
@@ -1331,16 +1325,6 @@ ilo_shader_get_kernel_param(const struct ilo_shader_state *shader,
val = kernel->bt.gen6_so_count;
break;
- case ILO_KERNEL_FS_INPUT_Z:
- case ILO_KERNEL_FS_INPUT_W:
- val = kernel->in.has_pos;
- break;
- case ILO_KERNEL_FS_OUTPUT_Z:
- val = kernel->out.has_pos;
- break;
- case ILO_KERNEL_FS_USE_KILL:
- val = kernel->has_kill;
- break;
case ILO_KERNEL_FS_BARYCENTRIC_INTERPOLATIONS:
val = kernel->in.barycentric_interpolation_mode;
break;
diff --git a/src/gallium/drivers/ilo/ilo_shader.h b/src/gallium/drivers/ilo/ilo_shader.h
index afa1efa718d..01de54146b1 100644
--- a/src/gallium/drivers/ilo/ilo_shader.h
+++ b/src/gallium/drivers/ilo/ilo_shader.h
@@ -36,7 +36,6 @@ enum ilo_kernel_param {
ILO_KERNEL_INPUT_COUNT,
ILO_KERNEL_OUTPUT_COUNT,
ILO_KERNEL_SAMPLER_COUNT,
- ILO_KERNEL_URB_DATA_START_REG,
ILO_KERNEL_SKIP_CBUF0_UPLOAD,
ILO_KERNEL_PCB_CBUF0_SIZE,
@@ -53,7 +52,6 @@ enum ilo_kernel_param {
ILO_KERNEL_VS_INPUT_EDGEFLAG,
ILO_KERNEL_VS_PCB_UCP_SIZE,
ILO_KERNEL_VS_GEN6_SO,
- ILO_KERNEL_VS_GEN6_SO_START_REG,
ILO_KERNEL_VS_GEN6_SO_POINT_OFFSET,
ILO_KERNEL_VS_GEN6_SO_LINE_OFFSET,
ILO_KERNEL_VS_GEN6_SO_TRI_OFFSET,
@@ -64,10 +62,6 @@ enum ilo_kernel_param {
ILO_KERNEL_GS_GEN6_SURFACE_SO_BASE,
ILO_KERNEL_GS_GEN6_SURFACE_SO_COUNT,
- ILO_KERNEL_FS_INPUT_Z,
- ILO_KERNEL_FS_INPUT_W,
- ILO_KERNEL_FS_OUTPUT_Z,
- ILO_KERNEL_FS_USE_KILL,
ILO_KERNEL_FS_BARYCENTRIC_INTERPOLATIONS,
ILO_KERNEL_FS_DISPATCH_16_OFFSET,
ILO_KERNEL_FS_SURFACE_RT_BASE,