summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-09-30 16:09:01 -0700
committerJason Ekstrand <[email protected]>2015-10-02 14:19:39 -0700
commita7e0f755bcb626ed8f8ca773b7d193dd82364513 (patch)
tree1cc355b1ac18c60b2a13a39527b433880d7629ee /autogen.sh
parentfc3f45234b4ff9545c84fbe8ec5261604d5ab611 (diff)
i965: Pull stage_prog_data.nr_params out of the NIR shader
Previously, we had a bunch of code in each stage to figure out how many slots we needed in stage_prog_data.param. This code was mostly identical across the stages and had been copied and pasted around. Unfortunately, this meant that any time you did something special, you had to add code for it to each of these places. In particular, none of the stages took subroutines into account; they were working entirely by accident. By taking this data from the NIR shader, we know the exact number of entries we need and everything goes a bit smoother. Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions