summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_resource.c
diff options
context:
space:
mode:
authorGert Wollny <[email protected]>2019-06-12 16:04:33 +0200
committerGert Wollny <[email protected]>2019-06-30 18:41:26 +0200
commit187c308b96d0501552ec0287ec117273b51228f0 (patch)
tree2c54017bff1d706a788f0c8d7c85474d1ea5fda0 /src/gallium/drivers/svga/svga_resource.c
parent89381191a96891a61a1f98102780669990b9f626 (diff)
vl: replace DIV-ADD with MAD using inverse size
Optimize the shader a bit by emitting MAD with the inverse size values instead of DIV+ADD. Signed-off-by: Gert Wollny <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_resource.c')
0 files changed, 0 insertions, 0 deletions