diff options
author | Chris Forbes <[email protected]> | 2013-11-29 21:30:00 +1300 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2013-12-07 17:15:01 +1300 |
commit | 6429cc05ca953dff2a49a44e9a1478fc6e4ccfa1 (patch) | |
tree | 1ce0fd20a1a5f86c9c4a0481e30b83c7f24036e4 /src/mesa | |
parent | 5d326fa963d4af85af50687ecc7d0eb0a8989fda (diff) |
mesa: add IsSample bitfield to gl_fragment_program
Drivers will need to look at this to decide if they need to do
per-sample fragment shader dispatch.
Signed-off-by: Chris Forbes <[email protected]>
Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/mtypes.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 87ce5697cdc..db3cc3b5efd 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2132,6 +2132,12 @@ struct gl_fragment_program * uses centroid interpolation, 0 otherwise. Unused inputs are 0. */ GLbitfield64 IsCentroid; + + /** + * Bitfield indicating, for each fragment shader input, 1 if that input + * uses sample interpolation, 0 otherwise. Unused inputs are 0. + */ + GLbitfield64 IsSample; }; |