Hash :
45965e72
Author :
Date :
2021-06-17T10:21:26
Vulkan: Translate border color's channel by image view format ANGLE implementes some formats as other formats,such as ALPHA8 to R8, this caused some tests failed due to missing border color's channel translation,this change add a new textureBorderLoadFunction to translate channels of border color by image view format. Bug: angleproject:6046 Change-Id: I94ce719b4db3724ffd3dc862b51a412b5d9f3cce Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2972328 Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
{
"description": [
"Copyright 2021 The ANGLE Project Authors. All rights reserved.",
"Use of this source code is governed by a BSD-style license that can be",
"found in the LICENSE file.",
"",
"load_texture_border_functions_data.json: Loading channel translation of border color.",
"",
"The format of the map is a dictionary where the key of each entry is the",
"internal format enum, and the value is the ANGLE format enum. Note this map ",
"only contains formats which need to reorder border color channel explictly.",
"",
"Also see gen_load_texture_border_functions_table.py for the code generation step."
],
"map":{
"GL_ALPHA8_EXT": {
"R8_UNORM": "LoadA8ToR8"
},
"GL_LUMINANCE8_ALPHA8_EXT": {
"R8G8_UNORM": "LoadLA8ToR8G8"
}
}
}