summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir_builder.cpp
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2017-01-24 11:41:46 -0800
committerFrancisco Jerez <[email protected]>2017-01-31 10:32:43 -0800
commit6643a97de308bc100a497f18fed8819f6f6f570b (patch)
tree2e891412faa11739cf22854287e3def1ea107b27 /src/compiler/glsl/ir_builder.cpp
parente81130d7a146fe6a750bf903e910dc2c7c90d513 (diff)
glsl: Fix constant evaluation of the rcp op.
Will avoid a regression in a future commit that introduces some additional rcp operations. According to the GLSL 4.10 specification: "Dividing by 0 results in the appropriately signed IEEE Inf." Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Juan A. Suarez Romero <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ir_builder.cpp')
0 files changed, 0 insertions, 0 deletions