"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/gallium/drivers/svga/svga_format.c" between
mesa-20.0.0-rc2.tar.xz and mesa-20.0.0-rc3.tar.xz

About: Mesa is an open-source implementation of the OpenGL specification - a system for rendering interactive 3D graphics (main library code). Release candidate.

svga_format.c  (mesa-20.0.0-rc2.tar.xz):svga_format.c  (mesa-20.0.0-rc3.tar.xz)
skipping to change at line 207 skipping to change at line 207
[ PIPE_FORMAT_L16A16_SINT ] = { SVGA3D_FORMAT_INVALID, SVGA3D_ FORMAT_INVALID, SVGA3D_R16G16_SINT, TF_XXXY }, [ PIPE_FORMAT_L16A16_SINT ] = { SVGA3D_FORMAT_INVALID, SVGA3D_ FORMAT_INVALID, SVGA3D_R16G16_SINT, TF_XXXY },
[ PIPE_FORMAT_A32_UINT ] = { SVGA3D_FORMAT_INVALID, SVGA3D_ FORMAT_INVALID, SVGA3D_R32_UINT, TF_000X }, [ PIPE_FORMAT_A32_UINT ] = { SVGA3D_FORMAT_INVALID, SVGA3D_ FORMAT_INVALID, SVGA3D_R32_UINT, TF_000X },
[ PIPE_FORMAT_I32_UINT ] = { SVGA3D_FORMAT_INVALID, SVGA3D_ FORMAT_INVALID, SVGA3D_R32_UINT, TF_XXXX }, [ PIPE_FORMAT_I32_UINT ] = { SVGA3D_FORMAT_INVALID, SVGA3D_ FORMAT_INVALID, SVGA3D_R32_UINT, TF_XXXX },
[ PIPE_FORMAT_L32_UINT ] = { SVGA3D_FORMAT_INVALID, SVGA3D_ FORMAT_INVALID, SVGA3D_R32_UINT, TF_XXX1 }, [ PIPE_FORMAT_L32_UINT ] = { SVGA3D_FORMAT_INVALID, SVGA3D_ FORMAT_INVALID, SVGA3D_R32_UINT, TF_XXX1 },
[ PIPE_FORMAT_L32A32_UINT ] = { SVGA3D_FORMAT_INVALID, SVGA3D_ FORMAT_INVALID, SVGA3D_R32G32_UINT, TF_XXXY }, [ PIPE_FORMAT_L32A32_UINT ] = { SVGA3D_FORMAT_INVALID, SVGA3D_ FORMAT_INVALID, SVGA3D_R32G32_UINT, TF_XXXY },
[ PIPE_FORMAT_A32_SINT ] = { SVGA3D_FORMAT_INVALID, SVGA3D_ FORMAT_INVALID, SVGA3D_R32_SINT, TF_000X }, [ PIPE_FORMAT_A32_SINT ] = { SVGA3D_FORMAT_INVALID, SVGA3D_ FORMAT_INVALID, SVGA3D_R32_SINT, TF_000X },
[ PIPE_FORMAT_I32_SINT ] = { SVGA3D_FORMAT_INVALID, SVGA3D_ FORMAT_INVALID, SVGA3D_R32_SINT, TF_XXXX }, [ PIPE_FORMAT_I32_SINT ] = { SVGA3D_FORMAT_INVALID, SVGA3D_ FORMAT_INVALID, SVGA3D_R32_SINT, TF_XXXX },
[ PIPE_FORMAT_L32_SINT ] = { SVGA3D_FORMAT_INVALID, SVGA3D_ FORMAT_INVALID, SVGA3D_R32_SINT, TF_XXX1 }, [ PIPE_FORMAT_L32_SINT ] = { SVGA3D_FORMAT_INVALID, SVGA3D_ FORMAT_INVALID, SVGA3D_R32_SINT, TF_XXX1 },
[ PIPE_FORMAT_L32A32_SINT ] = { SVGA3D_FORMAT_INVALID, SVGA3D_ FORMAT_INVALID, SVGA3D_R32G32_SINT, TF_XXXY }, [ PIPE_FORMAT_L32A32_SINT ] = { SVGA3D_FORMAT_INVALID, SVGA3D_ FORMAT_INVALID, SVGA3D_R32G32_SINT, TF_XXXY },
[ PIPE_FORMAT_R10G10B10A2_UINT ] = { SVGA3D_R10G10B10A2_UINT, SVGA3D_ R10G10B10A2_UINT, SVGA3D_R10G10B10A2_UINT, 0 }, [ PIPE_FORMAT_R10G10B10A2_UINT ] = { SVGA3D_R10G10B10A2_UINT, SVGA3D_ R10G10B10A2_UINT, SVGA3D_R10G10B10A2_UINT, 0 },
/* Must specify following entry to give the sense of size of format_conversio
n_table[] */
[ PIPE_FORMAT_COUNT ] = {SVGA3D_FORMAT_INVALID, SVGA3D_FORMAT_INVALID, SVG
A3D_FORMAT_INVALID, 0 },
}; };
static const struct vgpu10_format_entry * static const struct vgpu10_format_entry *
svga_format_entry(enum pipe_format format) svga_format_entry(enum pipe_format format)
{ {
/* Sparse filling of the table requires this. */ /* Sparse filling of the table requires this. */
STATIC_ASSERT(SVGA3D_FORMAT_INVALID == 0); STATIC_ASSERT(SVGA3D_FORMAT_INVALID == 0);
assert(format < ARRAY_SIZE(format_conversion_table)); assert(format < ARRAY_SIZE(format_conversion_table));
if (format >= ARRAY_SIZE(format_conversion_table)) if (format >= ARRAY_SIZE(format_conversion_table))
return &format_conversion_table[PIPE_FORMAT_NONE]; return &format_conversion_table[PIPE_FORMAT_NONE];
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)