diff options
author | Ian Romanick <[email protected]> | 2014-05-27 19:49:04 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-06-03 17:58:34 -0700 |
commit | 963bd99f03781068610a912516377cbfb69ce3c0 (patch) | |
tree | 99703057e14ac47bfb2f6db78316eaee124e3eef /bin | |
parent | 91ff0d4c6510dc38f279c586ced17fba917873e7 (diff) |
glsl: Set ir_instruction::ir_type in the base class constructor
This has the added perk that if you forget to set ir_type in the
constructor of a new subclass (or a new constructor of an existing
subclass) the compiler will tell you... instead of relying on
ir_validate or similar run-time detection.
Reviewed-by: Juha-Pekka Heikkila <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Signed-off-by: Ian Romanick <[email protected]>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions