OSDN Git Service

glsl/nir: keep bool types when native_integers=false
authorJonathan Marek <jonathan@marek.ca>
Wed, 19 Dec 2018 04:31:30 +0000 (23:31 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Fri, 11 Jan 2019 19:16:11 +0000 (19:16 +0000)
commit3d182601bb3314513500e39092c48a7126b3278a
treebec7c38d7631e3f2b0d7826ad11315a8f585ebad
parentb27ad171158a89758662294072398745b2f5d623
glsl/nir: keep bool types when native_integers=false

With the new handling of bool types, the conversion to float in glsl_to_nir
should not apply to bool types anymore.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/glsl/glsl_to_nir.cpp