diff options
author | Francisco Jerez <[email protected]> | 2016-08-12 18:33:58 -0700 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2016-08-16 16:31:59 -0700 |
commit | 61a02fb74c07d574b726a8b27517a02251aa4be4 (patch) | |
tree | a00201e300a586cda23aa78d2537e7acd52b67de /src/gallium/drivers/nouveau/codegen | |
parent | 0c754d1c4203d87dbb9d2dd882ef42686e6d01ec (diff) |
i965/fs: Return zero from fs_inst::components_read for non-present sources.
This makes it easier for the caller to find out how many scalar
components are actually read by the instruction. As a bonus we no
longer need to special-case BAD_FILE in the implementation of
fs_inst::regs_read.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/codegen')
0 files changed, 0 insertions, 0 deletions