| 28 | |
| 29 | |
| 30 | std::string createConfig() |
| 31 | { |
| 32 | const std::string search_path(ocioTestFilesDir + std::string("/")); |
| 33 | |
| 34 | std::string ocioConfigStr = |
| 35 | "ocio_profile_version: 1\n" |
| 36 | "\n" |
| 37 | "search_path: "; |
| 38 | |
| 39 | ocioConfigStr += search_path; |
| 40 | |
| 41 | ocioConfigStr += |
| 42 | "\n" |
| 43 | "strictparsing: true\n" |
| 44 | "luma: [0.2126, 0.7152, 0.0722]\n" |
| 45 | "\n" |
| 46 | "roles:\n" |
| 47 | " default: raw\n" |
| 48 | " reference: raw\n" |
| 49 | " scene_linear: raw\n" |
| 50 | "\n" |
| 51 | "displays:\n" |
| 52 | " sRGB:\n" |
| 53 | " - !<View> {name: Lgh, colorspace: lgh}\n" |
| 54 | "\n" |
| 55 | "colorspaces:\n" |
| 56 | " - !<ColorSpace>\n" |
| 57 | " name: raw\n" |
| 58 | " family: \"\"\n" |
| 59 | " equalitygroup: \"\"\n" |
| 60 | " bitdepth: unknown\n" |
| 61 | " isdata: false\n" |
| 62 | " allocation: uniform\n" |
| 63 | "\n" |
| 64 | " - !<ColorSpace>\n" |
| 65 | " name: lgh\n" |
| 66 | " family: \"\"\n" |
| 67 | " equalitygroup: \"\"\n" |
| 68 | " bitdepth: unknown\n" |
| 69 | " isdata: false\n" |
| 70 | " allocation: uniform\n" |
| 71 | " allocationvars: [0, 1]\n" |
| 72 | " from_reference: !<GroupTransform>\n" |
| 73 | " children:\n"; |
| 74 | |
| 75 | return ocioConfigStr; |
| 76 | } |
| 77 | |
| 78 | OCIO_ADD_GPU_TEST(Config, several_1D_luts_legacy_shader) |
| 79 | { |