diff options
author | Roland Scheidegger <[email protected]> | 2009-12-18 23:53:25 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2009-12-18 23:53:25 +0100 |
commit | ff5b0c72db20be099f9fc7dee22aeebbda75ab42 (patch) | |
tree | af160275bb16586db51666c818a5d1dad8209634 /src/gallium/auxiliary/tgsi/tgsi_scan.h | |
parent | 9d938e29f202552a98605906b71f31485af1ef60 (diff) |
gallium: store edgflag info in tgsi_shader_info
provides easier access for drivers which may base fallback decision on this
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_scan.h')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_scan.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.h b/src/gallium/auxiliary/tgsi/tgsi_scan.h index 8a7ee0c7e4f..3ce0e88e4c6 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_scan.h +++ b/src/gallium/auxiliary/tgsi/tgsi_scan.h @@ -58,6 +58,7 @@ struct tgsi_shader_info uint opcode_count[TGSI_OPCODE_LAST]; /**< opcode histogram */ boolean writes_z; /**< does fragment shader write Z value? */ + boolean writes_edgeflag; /**< vertex shader outputs edgeflag */ boolean uses_kill; /**< KIL or KILP instruction used? */ boolean uses_fogcoord; /**< fragment shader uses fog coord? */ boolean uses_frontfacing; /**< fragment shader uses front/back-face flag? */ |