diff options
author | Jason Ekstrand <[email protected]> | 2016-09-14 10:29:38 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-09-15 13:31:43 -0700 |
commit | ed65e6ef49e17e9cae93a8f98e2968346de2bc6e (patch) | |
tree | dc41a3144e6f4b64efee96bc4d9adcd4ed2e308c /src/intel/blorp | |
parent | 114874b22beafb2d07006b197c62d717fc7f80cc (diff) |
nir: Add a flag to lower_io to force "sample" interpolation
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Anuj Phogat <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/blorp')
-rw-r--r-- | src/intel/blorp/blorp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/blorp/blorp.c b/src/intel/blorp/blorp.c index 955e543a315..1c8fd550af6 100644 --- a/src/intel/blorp/blorp.c +++ b/src/intel/blorp/blorp.c @@ -204,7 +204,7 @@ brw_blorp_compile_nir_shader(struct blorp_context *blorp, struct nir_shader *nir unsigned end = var->data.location + nir_uniform_type_size(var->type); nir->num_uniforms = MAX2(nir->num_uniforms, end); } - nir_lower_io(nir, nir_var_uniform, nir_uniform_type_size); + nir_lower_io(nir, nir_var_uniform, nir_uniform_type_size, 0); const unsigned *program = brw_compile_fs(compiler, blorp->driver_ctx, mem_ctx, |