summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-02-07 18:29:12 -0700
committerBrian Paul <[email protected]>2018-02-08 09:49:03 -0700
commitd95c2d86cc095d73759b4db1b2689013af66f622 (patch)
tree59ebcf1d88036707280e4b2e3ffbd26a54870336 /scripts
parent26948ba761e04e74a5d15a3115117b9954a4fcbb (diff)
tgsi: use TGSI_INTERPOLATE_x arguments instead of zeros in ureg code
TGSI_INTERPOLATE_CONSTANT and TGSI_INTERPOLATE_LOC_CENTER have the value zero so there's no change in behavior. It seems funny to declare these fs input registers with constant interpolation. But it looks like ureg_DECL_input_layout() is not called anywhere and ureg_DECL_input() is only called from util_make_geometry_passthrough_shader(). Reviewed-by: Mathias Fröhlich <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions