diff options
author | Tim Rowley <[email protected]> | 2016-05-25 18:49:34 -0500 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2016-06-09 13:28:35 -0500 |
commit | 2c85128e015a401550046f47ce3e2dc0c0049540 (patch) | |
tree | b21cb0ab258192b5375ddf067d4ee7553c18562d /src/gallium/drivers/swr/swr_shader.h | |
parent | cf804b4455fac9e585b3600a8318caaced9c23de (diff) |
swr: implement clipPlanes/clipVertex/clipDistance/cullDistance
v2: only load the clip vertex once
v3: fix clip enable logic, add cullDistance
v4: remove duplicate fields in vs jit key, fix test of clip fixup needed
v5: fix clipdistance linkage for slot!=0,4
v6: support clip+cull; passes most piglit clip (failures understood)
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/swr_shader.h')
-rw-r--r-- | src/gallium/drivers/swr/swr_shader.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/swr_shader.h b/src/gallium/drivers/swr/swr_shader.h index 1b604b5a3c2..ccdda445119 100644 --- a/src/gallium/drivers/swr/swr_shader.h +++ b/src/gallium/drivers/swr/swr_shader.h @@ -56,6 +56,7 @@ struct swr_jit_fs_key : swr_jit_sampler_key { }; struct swr_jit_vs_key : swr_jit_sampler_key { + unsigned clip_plane_mask; // from rasterizer state & vs_info }; namespace std |