diff options
author | Jason Ekstrand <[email protected]> | 2016-05-09 17:15:21 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-05-14 13:33:52 -0700 |
commit | a2f50d87b6e9d07c6974ef309cc99acf56b2dc09 (patch) | |
tree | 5891e884fa731b051ea1b47caf399dc61ffacd28 /src/compiler/nir/glsl_to_nir.cpp | |
parent | 59156b2e96315910f1e929c14c5b25ce88f75911 (diff) |
nir: Add an info bit for uses_sample_qualifier
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/nir/glsl_to_nir.cpp')
-rw-r--r-- | src/compiler/nir/glsl_to_nir.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/nir/glsl_to_nir.cpp b/src/compiler/nir/glsl_to_nir.cpp index fb1d4218e33..8a256506f8f 100644 --- a/src/compiler/nir/glsl_to_nir.cpp +++ b/src/compiler/nir/glsl_to_nir.cpp @@ -182,6 +182,7 @@ glsl_to_nir(const struct gl_shader_program *shader_prog, (struct gl_fragment_program *)sh->Program; shader->info.fs.uses_discard = fp->UsesKill; + shader->info.fs.uses_sample_qualifier = fp->IsSample != 0; shader->info.fs.early_fragment_tests = sh->EarlyFragmentTests; shader->info.fs.depth_layout = fp->FragDepthLayout; break; |