summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-09-30 13:11:23 -0700
committerJason Ekstrand <[email protected]>2015-10-02 14:19:39 -0700
commit390b48fc4a9836b563560581fbfb4833546de0c8 (patch)
tree20b2ecdca2dffbafaf799e3dd9f1dbe497a1033a /src/mapi
parent3de81508ea513bf01f2c996c25a2cfdb5b3231d0 (diff)
i965/vec4: Use the uniform count from nir_assign_var_locations
Previously, we were counting up uniforms as we set them up. However, this count should be exactly identical to shader->num_uniforms provided by nir_assign_var_locations. (If it's not, we're in trouble anyway because that means that locations don't match up.) This matches what the fs backend is already doing. Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/mapi')
0 files changed, 0 insertions, 0 deletions