diff options
author | Marek Olšák <[email protected]> | 2014-09-30 15:59:37 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-10-04 15:16:14 +0200 |
commit | 7dc016419232f281d7d65f15c065e7587ab5b8db (patch) | |
tree | 583366cf50c54a022da91820021ba8730a3ded4c /src/gallium/drivers/llvmpipe | |
parent | 8860584045f8c534264f9d456bfafdb545d81437 (diff) |
tgsi: remove some not so useful variables from tgsi_shader_info
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_fs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c index 431f31efaf7..c344fc07b0c 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c @@ -2323,6 +2323,8 @@ generate_fragment(struct llvmpipe_context *lp, LLVMValueRef mask_store = lp_build_array_alloca(gallivm, mask_type, num_loop, "mask_store"); LLVMValueRef color_store[PIPE_MAX_COLOR_BUFS][TGSI_NUM_CHANNELS]; + boolean pixel_center_integer = + shader->info.base.properties[TGSI_PROPERTY_FS_COORD_PIXEL_CENTER][0]; /* * The shader input interpolation info is not explicitely baked in the @@ -2333,7 +2335,7 @@ generate_fragment(struct llvmpipe_context *lp, gallivm, shader->info.base.num_inputs, inputs, - shader->info.base.pixel_center_integer, + pixel_center_integer, builder, fs_type, a0_ptr, dadx_ptr, dady_ptr, x, y); |