diff options
author | Marek Olšák <[email protected]> | 2016-01-07 19:48:56 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-01-08 20:07:16 +0100 |
commit | 69f43c2cc903d5973bab2515be51465c9e8f9f9e (patch) | |
tree | 85a9ae0393dc6546a8695590f9da8b7ddf0e23c8 /src/gallium/drivers/radeonsi | |
parent | 8a13ce14fd4e29e4e74322c1a3d548960f7f9bc6 (diff) |
util/pstipple: allow fragment shader POSITION to be a system value
Reviewed-by: Edward O'Callaghan <[email protected]
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 44b03238919..1db3e484915 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -4066,7 +4066,8 @@ int si_shader_create(struct si_screen *sscreen, LLVMTargetMachineRef tm, if (poly_stipple) { tokens = util_pstipple_create_fragment_shader(tokens, NULL, - SI_POLY_STIPPLE_SAMPLER); + SI_POLY_STIPPLE_SAMPLER, + TGSI_FILE_INPUT); tgsi_scan_shader(tokens, &stipple_shader_info); } |