diff options
author | Vinson Lee <[email protected]> | 2011-01-14 16:18:52 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2011-01-14 16:18:52 -0800 |
commit | 7772a34f3aedfa8ef58ad5f912f56bd5adf27057 (patch) | |
tree | ec9d95fded3e5b21a44e2f48b5440eecb405d00f /src/glsl/glsl_lexer.cpp | |
parent | 7b987578a94008e28daa5cacf68ee37566a27be8 (diff) |
mesa: Dynamically allocate acp array in ir_to_mesa_visitor::copy_propagate.
Fixes these MSVC errors.
ir_to_mesa.cpp(2644) : error C2057: expected constant expression
ir_to_mesa.cpp(2644) : error C2466: cannot allocate an array of constant size 0
ir_to_mesa.cpp(2644) : error C2133: 'acp' : unknown size
ir_to_mesa.cpp(2646) : error C2070: 'ir_to_mesa_instruction *[]': illegal sizeof operand
ir_to_mesa.cpp(2709) : error C2070: 'ir_to_mesa_instruction *[]': illegal sizeof operand
ir_to_mesa.cpp(2718) : error C2070: 'ir_to_mesa_instruction *[]': illegal sizeof operand
Diffstat (limited to 'src/glsl/glsl_lexer.cpp')
0 files changed, 0 insertions, 0 deletions