st/nine: Fix bufferoverflow in {Get|Set}PixelShaderConstantF
authorPatrick Rudolph <siro@das-labor.org>
Fri, 16 Jan 2015 06:34:36 +0000 (07:34 +0100)
committerAxel Davy <axel.davy@ens.fr>
Thu, 5 Feb 2015 23:07:19 +0000 (00:07 +0100)
commit63221c6f0944bf82eee07a54c42a473890ee655c
tree10b6be117d406b9b03e5181500f9074b2c601de6
parent2dcad120a04ac42987756d244125bb814e5ca5f5
st/nine: Fix bufferoverflow in {Get|Set}PixelShaderConstantF

Previous code wasn't checking against the correct limit: 224
for sm3 hardware, but 256.

Fixes wine test test_pixel_shader_constant()

Reviewed-by: Axel Davy <axel.davy@ens.fr>
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
src/gallium/state_trackers/nine/device9.c