diff options
author | Marek Olšák <[email protected]> | 2014-09-30 15:59:37 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-10-04 15:16:14 +0200 |
commit | 7dc016419232f281d7d65f15c065e7587ab5b8db (patch) | |
tree | 583366cf50c54a022da91820021ba8730a3ded4c /src/gallium/auxiliary/tgsi | |
parent | 8860584045f8c534264f9d456bfafdb545d81437 (diff) |
tgsi: remove some not so useful variables from tgsi_shader_info
Diffstat (limited to 'src/gallium/auxiliary/tgsi')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_scan.c | 8 | ||||
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_scan.h | 3 |
2 files changed, 0 insertions, 11 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.c b/src/gallium/auxiliary/tgsi/tgsi_scan.c index f9d189602ca..d68dca81713 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_scan.c +++ b/src/gallium/auxiliary/tgsi/tgsi_scan.c @@ -293,14 +293,6 @@ tgsi_scan_shader(const struct tgsi_token *tokens, info->uses_kill = (info->opcode_count[TGSI_OPCODE_KILL_IF] || info->opcode_count[TGSI_OPCODE_KILL]); - /* extract simple properties */ - info->origin_lower_left = - info->properties[TGSI_PROPERTY_FS_COORD_ORIGIN][0]; - info->pixel_center_integer = - info->properties[TGSI_PROPERTY_FS_COORD_PIXEL_CENTER][0]; - info->color0_writes_all_cbufs = - info->properties[TGSI_PROPERTY_FS_COLOR0_WRITES_ALL_CBUFS][0]; - /* The dimensions of the IN decleration in geometry shader have * to be deduced from the type of the input primitive. */ diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.h b/src/gallium/auxiliary/tgsi/tgsi_scan.h index 0d79e292209..934aceca4c6 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_scan.h +++ b/src/gallium/auxiliary/tgsi/tgsi_scan.h @@ -76,9 +76,6 @@ struct tgsi_shader_info boolean uses_vertexid; boolean uses_primid; boolean uses_frontface; - boolean origin_lower_left; - boolean pixel_center_integer; - boolean color0_writes_all_cbufs; boolean writes_viewport_index; boolean writes_layer; boolean is_msaa_sampler[PIPE_MAX_SAMPLERS]; |