diff options
author | Eric Anholt <eric@anholt.net> | 2015-01-21 15:32:48 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2015-01-22 13:52:19 -0800 |
commit | fc6938d23e769497fd2acba7da0b59935ec9f1e4 (patch) | |
tree | d42250188b9e64ae5762ba0eb84984aaae5e91d2 /src/gallium/state_trackers/nine/query9.c | |
parent | 534a4ec82f09fa37e2134c994082e71c79b7d5ec (diff) | |
download | external_mesa3d-fc6938d23e769497fd2acba7da0b59935ec9f1e4.zip external_mesa3d-fc6938d23e769497fd2acba7da0b59935ec9f1e4.tar.gz external_mesa3d-fc6938d23e769497fd2acba7da0b59935ec9f1e4.tar.bz2 |
nir: Fix setup of constant bool initializers.
brw_fs_nir has only seen scalar bools so far, thanks to vector splitting,
and the ralloc of in glsl_to_nir.cpp will *usually* get you a 0-filled
chunk of memory, so reading too large of a value will usually get you the
right bool value. But once we start doing vector bools in a few commits,
we end up getting bad values.
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Diffstat (limited to 'src/gallium/state_trackers/nine/query9.c')
0 files changed, 0 insertions, 0 deletions