glsl: New unary opcodes for ARB_shader_bit_encoding support.
authorOlivier Galibert <galibert@pobox.com>
Tue, 8 May 2012 18:40:32 +0000 (20:40 +0200)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 7 Jun 2012 07:06:17 +0000 (00:06 -0700)
commit500dcbb1aa991d4c92200fcacd6eb288bb2638d7
treee27a1039589a9bc5611792862175febcd543d4dd
parent199771bc325900eb1d3acc7fa03808894a94fdb2
glsl: New unary opcodes for ARB_shader_bit_encoding support.

The opcodes are bitcast_f2u, bitcast_f2i, bitcast_i2f and bitcast_u2f.

Signed-off-by: Olivier Galibert <galibert@pobox.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/builtins/ir/floatBitsToInt.ir [new file with mode: 0644]
src/glsl/builtins/ir/floatBitsToUint.ir [new file with mode: 0644]
src/glsl/builtins/ir/intBitsToFloat.ir [new file with mode: 0644]
src/glsl/builtins/ir/uintBitsToFloat.ir [new file with mode: 0644]
src/glsl/builtins/profiles/ARB_shader_bit_encoding.glsl [new file with mode: 0644]
src/glsl/ir.cpp
src/glsl/ir.h