aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/swr_shader.h
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-11-21 12:45:08 -0500
committerIlia Mirkin <[email protected]>2016-11-22 20:27:20 -0500
commit7cbfe59cf3432ae643837c3534c77aa034c36ca6 (patch)
treef41ef9f0bbd16b5583ed68415ea20a5596ac4bdf /src/gallium/drivers/swr/swr_shader.h
parent6d6ef3fb5594393affab264c9c51570475b7b470 (diff)
swr: add sprite coord enable mask to fs key
This fixes gl-coord-replace-doesnt-eliminate-frag-tex-coords Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Tim Rowley <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/swr_shader.h')
-rw-r--r--src/gallium/drivers/swr/swr_shader.h1
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 ccdda445119..7e3399ccd87 100644
--- a/src/gallium/drivers/swr/swr_shader.h
+++ b/src/gallium/drivers/swr/swr_shader.h
@@ -51,6 +51,7 @@ struct swr_jit_sampler_key {
struct swr_jit_fs_key : swr_jit_sampler_key {
unsigned nr_cbufs;
unsigned light_twoside;
+ unsigned sprite_coord_enable;
ubyte vs_output_semantic_name[PIPE_MAX_SHADER_OUTPUTS];
ubyte vs_output_semantic_idx[PIPE_MAX_SHADER_OUTPUTS];
};