summaryrefslogtreecommitdiffstats
path: root/src/hgl
diff options
context:
space:
mode:
authorKristian H. Kristensen <[email protected]>2019-03-26 09:53:38 -0700
committerKristian H. Kristensen <[email protected]>2019-03-27 13:26:02 -0700
commit56b4bc292f1994619d6a9779f15e6b2c5180b1de (patch)
tree823673cf096a51304d01279ddd10af855847bfe7 /src/hgl
parentdce13e58b0641a429890abf1335a9aedd19b96ea (diff)
st/glsl_to_nir: Calculate num_uniforms from NumParameterValues
We don't need to determine the number of uniform slots here, it's already available as prog->Parameters->NumParameterValues. The way we previously determined the number of slots was also broken for PackedDriverUniformStorage, where we would add loc (in dwords) and type_size() (in vec4s). Signed-off-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/hgl')
0 files changed, 0 insertions, 0 deletions