nir: Support lowering vote intrinsics

... trivially (as allowed by the spec!) by reusing the existing
nir_opt_intrinsics code.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Matt Turner
2017-06-22 12:20:18 -07:00
parent d4c9d6a3b2
commit 742cc6118a
2 changed files with 4 additions and 2 deletions

View File

@@ -1821,6 +1821,8 @@ typedef struct nir_shader_compiler_options {
bool lower_extract_byte;
bool lower_extract_word;
bool lower_vote_trivial;
/**
* Does the driver support real 32-bit integers? (Otherwise, integers
* are simulated by floats.)