isl: Generate isl_format_layout.c
authorChad Versace <chad.versace@intel.com>
Thu, 12 Nov 2015 18:46:12 +0000 (10:46 -0800)
committerChad Versace <chad.versace@intel.com>
Thu, 12 Nov 2015 20:21:46 +0000 (12:21 -0800)
commitbfb022a23552becfaa04509a93bbcf280657c5ee
treed9ebcffb72ac200de730d06fadfc028b7c4b1324
parent7986efc644d3e05491fc31f969c2e3039b2c5ade
isl: Generate isl_format_layout.c

Generate an array of struct isl_format_layout, using
isl_format_layout.csv as input.

Each entry follows the patten:

   [ISL_FORMAT_R32G32B32A32_FLOAT] = {
      ISL_FORMAT_R32G32B32A32_FLOAT,
      .bs = 16, .bpb = 128,
      .bw = 1, .bh = 1, .bd = 1,
      .channels = {
          .r = { ISL_SFLOAT, 32 },
          .g = { ISL_SFLOAT, 32 },
          .b = { ISL_SFLOAT, 32 },
          .a = { ISL_SFLOAT, 32 },
          .l = {},
          .i = {},
          .p = {},
      },
      .colorspace = ISL_COLORSPACE_LINEAR,
      .txc = ISL_TXC_NONE,
   },
src/vulkan/.gitignore
src/vulkan/Makefile.am
src/vulkan/isl.h
src/vulkan/isl_format_layout_gen.bash [new file with mode: 0755]