File tree 2 files changed +6
-7
lines changed 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 1074
1074
"description": "gallium/vl: Create sampler state also when gfx is not supported",
1075
1075
"nominated": true,
1076
1076
"nomination_type": 1,
1077
- "resolution": 0 ,
1077
+ "resolution": 1 ,
1078
1078
"main_sha": null,
1079
1079
"because_sha": null,
1080
1080
"notes": null
Original file line number Diff line number Diff line change @@ -155,14 +155,13 @@ init_pipe_state(struct vl_compositor *c)
155
155
sampler .mag_img_filter = PIPE_TEX_FILTER_LINEAR ;
156
156
sampler .compare_mode = PIPE_TEX_COMPARE_NONE ;
157
157
sampler .compare_func = PIPE_FUNC_ALWAYS ;
158
+ c -> sampler_linear = c -> pipe -> create_sampler_state (c -> pipe , & sampler );
158
159
159
- if (c -> pipe_gfx_supported ) {
160
- c -> sampler_linear = c -> pipe -> create_sampler_state (c -> pipe , & sampler );
161
-
162
- sampler .min_img_filter = PIPE_TEX_FILTER_NEAREST ;
163
- sampler .mag_img_filter = PIPE_TEX_FILTER_NEAREST ;
164
- c -> sampler_nearest = c -> pipe -> create_sampler_state (c -> pipe , & sampler );
160
+ sampler .min_img_filter = PIPE_TEX_FILTER_NEAREST ;
161
+ sampler .mag_img_filter = PIPE_TEX_FILTER_NEAREST ;
162
+ c -> sampler_nearest = c -> pipe -> create_sampler_state (c -> pipe , & sampler );
165
163
164
+ if (c -> pipe_gfx_supported ) {
166
165
memset (& blend , 0 , sizeof blend );
167
166
blend .independent_blend_enable = 0 ;
168
167
blend .rt [0 ].blend_enable = 0 ;
You can’t perform that action at this time.
0 commit comments