diff options
author | Christoph Bumiller <[email protected]> | 2014-05-17 01:20:20 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-06-02 12:49:03 +0200 |
commit | b206f5951cb8639041a27bfc35cd6add1127ba05 (patch) | |
tree | a198d9eb816b7b3742a2915410664cdf7d41f6b2 /src/gallium/drivers/r600/r600_pipe.h | |
parent | 4b586a26c8ab8804dacbf400f5fd53b5a1f70dac (diff) |
r600g: use TGSI_PROPERTY to disable viewport and clipping
v2 get rid of magic value, use DEFINES
v3 update clip_disable together with vs_position_window_space
Big thanks to Marek Olšák!
Signed-off-by: David Heidelberger <[email protected]>
Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h index 41203597e7f..4585ace155e 100644 --- a/src/gallium/drivers/r600/r600_pipe.h +++ b/src/gallium/drivers/r600/r600_pipe.h @@ -108,6 +108,7 @@ struct r600_clip_misc_state { unsigned pa_cl_vs_out_cntl; /* from vertex shader */ unsigned clip_plane_enable; /* from rasterizer */ unsigned clip_dist_write; /* from vertex shader */ + boolean clip_disable; /* from vertex shader */ }; struct r600_alphatest_state { |