diff options
author | Timur Kristóf <[email protected]> | 2019-02-28 10:53:11 +0100 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2019-03-05 19:13:27 +0000 |
commit | 6684e039eba9c2e9602b1cc9d5177f69e478ff46 (patch) | |
tree | f2d93cf6d84b5a2c44d41e57980e22905c10a1fb /src/gallium/drivers/freedreno/a2xx/ir2.h | |
parent | 909d1f50f3ffc62d5a23669ad0bc8eedb9416af0 (diff) |
nir: Add multiplier argument to nir_lower_uniforms_to_ubo.
Note that locations can be set in different units, and the multiplier
argument caters to supporting these different units. For example,
st_glsl_to_nir uses dwords (4 bytes) so the multiplier should be 4,
while tgsi_to_nir uses bytes, so the multiplier should be 16.
Signed-Off-By: Timur Kristóf <[email protected]>
Tested-by: Andre Heider <[email protected]>
Tested-by: Rob Clark <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a2xx/ir2.h')
0 files changed, 0 insertions, 0 deletions