mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 20:00:11 +01:00
kk: enable logicOp
Reviewed-by: Aitor Camacho <aitor@lunarg.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38067>
This commit is contained in:
parent
938390c075
commit
8c9e9555e8
2 changed files with 2 additions and 1 deletions
|
|
@ -155,6 +155,7 @@ kk_get_device_features(
|
|||
*/
|
||||
.fragmentStoresAndAtomics = false,
|
||||
.imageCubeArray = true,
|
||||
.logicOp = true,
|
||||
.shaderInt16 = true,
|
||||
.shaderInt64 = true,
|
||||
.shaderResourceMinLod = true,
|
||||
|
|
|
|||
|
|
@ -328,7 +328,7 @@ kk_lower_fs_blend(nir_shader *nir,
|
|||
nir_lower_blend_options opts = {
|
||||
.scalar_blend_const = false,
|
||||
.logicop_enable = state->cb->logic_op_enable,
|
||||
.logicop_func = state->cb->logic_op,
|
||||
.logicop_func = vk_logic_op_to_pipe(state->cb->logic_op),
|
||||
};
|
||||
|
||||
static_assert(ARRAY_SIZE(opts.format) == 8, "max RTs out of sync");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue