summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-08-24 16:39:24 -0700
committerJason Ekstrand <[email protected]>2015-08-25 10:18:27 -0700
commita23f82053d18c2f7d78e28551368437ded4c1a03 (patch)
treeb0c1c513eddfe28938a01ac5a6e3fea71f7b5c18 /common.py
parent640c472fd075814972b1276c5b0ed3a769aacda5 (diff)
prog_to_nir: Don't allocate nir_variable with type vec4[0] for uniforms.
If there are no parameters, we don't need to create a nir_variable to hold them...and allocating an array of length 0 is pretty bogus. Should avoid i965 backend assertions in future patches Jason and I are working on. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions