mirror of
https://github.com/holub/mame
synced 2025-04-18 14:33:19 +03:00

* Fixed palette and UYVY conversion in all backends. Fixes MT07760. * Fixed a typo in targetmanager.cpp, thanks LN for the heads-up.
28 lines
1.0 KiB
JSON
28 lines
1.0 KiB
JSON
// license:BSD-3-Clause
|
|
// copyright-holders:Ryan Holtz
|
|
//===============================================================
|
|
//
|
|
// texconv_palette16.json: A palettized texture-to-target copy.
|
|
//
|
|
//===============================================================
|
|
{
|
|
"blend": {
|
|
"equation": "add",
|
|
"srcColor": "srcalpha",
|
|
"dstColor": "1-srcalpha",
|
|
"srcAlpha": "srcalpha",
|
|
"dstAlpha": "1-srcalpha"
|
|
},
|
|
"depth": { "function": "always", "writeenable": false },
|
|
"cull": { "mode": "none" },
|
|
"write": { "rgb": true, "alpha": true },
|
|
"vertex": "chains/misc/vs_blit",
|
|
"fragment": "chains/misc/fs_blit_palette16",
|
|
"uniforms": [
|
|
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
|
{ "name": "s_pal", "type": "int", "values": [ 1.0 ] },
|
|
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
|
{ "name": "u_inv_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
|
{ "name": "u_inv_tex_size1", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
|
]
|
|
} |