This gets a basic #version 140 shader compiling.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
case 130:
generate_130_vs_variables(instructions, state);
break;
+ case 140:
+ generate_130_vs_variables(instructions, state);
+ break;
}
if (state->ARB_draw_instanced_enable)
case 130:
generate_130_fs_variables(instructions, state);
break;
+ case 140:
+ generate_130_fs_variables(instructions, state);
+ break;
}
if (state->ARB_shader_stencil_export_enable)
case 130:
glsl_type::generate_130_types(state->symbols);
break;
+ case 140:
+ glsl_type::generate_130_types(state->symbols);
+ break;
default:
/* error */
break;
* of all shaders must match.
*/
assert(min_version >= 100);
- assert(max_version <= 130);
+ assert(max_version <= 140);
if ((max_version >= 130 || min_version == 100)
&& min_version != max_version) {
linker_error(prog, "all shaders must use same shading "