diff options
author | Anuj Phogat <[email protected]> | 2013-10-24 16:17:08 -0700 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2013-11-01 16:01:48 -0700 |
commit | e12bbb503f71b60b9f212e82fdd3ed9aaf3ab318 (patch) | |
tree | 58f83bb8755864788d29af2f40c2c01e7712e39b /src/mesa/drivers/dri/i965/brw_wm.h | |
parent | 65d0452bbc14c69ecd2cffdb38f711cfbaab348e (diff) |
i965: Add FS backend for builtin gl_SampleID
V2:
- Update comments
- Add compute_sample_id variables in brw_wm_prog_key
- Add a special backend instruction to compute sample_id.
V3:
- Make changes to support simd16 mode.
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_wm.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm.h b/src/mesa/drivers/dri/i965/brw_wm.h index eb740adffe6..f5823f43258 100644 --- a/src/mesa/drivers/dri/i965/brw_wm.h +++ b/src/mesa/drivers/dri/i965/brw_wm.h @@ -66,6 +66,7 @@ struct brw_wm_prog_key { GLuint render_to_fbo:1; GLuint clamp_fragment_color:1; GLuint compute_pos_offset:1; + GLuint compute_sample_id:1; GLuint line_aa:2; GLuint high_quality_derivatives:1; |