anv/meta_resolve: Set origin_upper_left on gl_FragCoord
It's required by the spec and any shaders that don't set it will be broken. I'm not really sure how multisampling was even working before...
This commit is contained in:
parent
88042b9f10
commit
08ecd8a8d1
|
@ -134,6 +134,7 @@ build_nir_fs(uint32_t num_samples)
|
|||
v_position = nir_variable_create(b.shader, nir_var_shader_in, vec4,
|
||||
"v_position");
|
||||
v_position->data.location = VARYING_SLOT_POS;
|
||||
v_position->data.origin_upper_left = true;
|
||||
|
||||
v_tex_position = nir_variable_create(b.shader, nir_var_shader_in, vec4,
|
||||
"v_tex_position");
|
||||
|
|
Loading…
Reference in New Issue