diff options
author | Eduardo Lima Mitev <[email protected]> | 2015-09-24 10:57:42 +0200 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-09-28 11:39:53 -0700 |
commit | c6bf1cd1467ea5d5370394ba99366dd8a59a385c (patch) | |
tree | 475202193fec55a4f65160d73c8021fd18ba1011 /src/mesa/drivers/dri/i965/intel_batchbuffer.h | |
parent | 15ab968f62dd322ecda6d70b1069f52616fe39bb (diff) |
mesa: Move _mesa_base_tex_format() from teximage to glformats files
This function will be needed as part of validating the combination of format,
type and internal format of texture pixel operations, which happens in
glformats files. Specifically, we want to be able to obtain the base format
of a resolved effective internal format, to compare it with the original
internal format passed.
Also, since this function deals solely with GL formats, it fits better in
glformats where the rest of similar format functionality rests.
The function is moved as-is, without any modification.
Cc: "11.0" <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Tested-by: Mark Janes <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_batchbuffer.h')
0 files changed, 0 insertions, 0 deletions