diff options
author | Roland Scheidegger <[email protected]> | 2016-01-07 01:52:39 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2016-01-07 01:52:39 +0100 |
commit | afa035031ff9e0c07a2297d864e46c76f7bfff58 (patch) | |
tree | 9f009f93f55908dc82c6ef792c82935ebd322d33 /src/gallium/drivers/llvmpipe/lp_context.h | |
parent | 39c41be50d9474dde4c0dcf23a546d14b212e80a (diff) |
draw: rework handling of non-existing outputs in emit code
Previously the code would just redirect requests for attributes which
don't exist to use output 0. Rework this to output all zeros instead which
seems more useful - in particular some extensions like
ARB_fragment_layer_viewport require 0 in the fs even if it wasn't output by
previous stages. That way, drivers don't have to special case this depending
if the vs/gs outputs some attribute or not.
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_context.h')
0 files changed, 0 insertions, 0 deletions