diff options
author | George Kyriazis <[email protected]> | 2017-03-31 20:09:57 -0500 |
---|---|---|
committer | George Kyriazis <[email protected]> | 2017-04-14 17:08:12 -0500 |
commit | d7a1f01db36f32f8fbf47535d3969bcb57dae91d (patch) | |
tree | e6d46282268d9fa4dddb487c0286370f26085b25 /src/gallium/drivers/swr/swr_shader.h | |
parent | 8973ae3162aec112b22cdf58f47d0ee12c4a09cd (diff) |
swr: Add polygon stipple support
Add polygon stipple functionality to the fragment shader.
Explicitly turn off polygon stipple for lines and points, since we
do them using tris.
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 c9df5b00917..1ab68460569 100644 --- a/src/gallium/drivers/swr/swr_shader.h +++ b/src/gallium/drivers/swr/swr_shader.h @@ -66,6 +66,7 @@ struct swr_jit_fs_key : swr_jit_sampler_key { unsigned sprite_coord_enable; ubyte vs_output_semantic_name[PIPE_MAX_SHADER_OUTPUTS]; ubyte vs_output_semantic_idx[PIPE_MAX_SHADER_OUTPUTS]; + bool poly_stipple_enable; }; struct swr_jit_vs_key : swr_jit_sampler_key { |