[Mesa-dev] Addition of EXT_swap_control extension

2014-04-03 Thread f.josef
Hello, I'm looking at the EXT_swap_control extension; as far as I can tell, Mesa does not support it (feel free to correct me if I'm wrong). Given the fact, that both its precursors SGI_swap_control and MESA_swap_ control are implemented, I wander - are there any deeper reasons for not suppor

Re: [Mesa-dev] [PATCH 2/2] glsl: match unnamed record types across stages

2013-11-28 Thread f.josef
Hello Grigori, works perfectly - thank you very much! Kind regards, Michal "Unnamed record types are assigned to separate types per stage, e.g. uniform struct { ... } a; if defined in both vertex and fragment shader, will result in two separate types of different name. When linking the sha

Re: [Mesa-dev] Anonymous structure in uniform question

2013-11-25 Thread f.josef
Hello Grigori, indeed the patch cures the error, but when I was testing the newly compiled Mesa with XPlane10, it turns out there is something wrong - there are no shadows (without shadows I can't really tell if the patch didn't visibly break anything). I'm going to try and find out where exac

Re: [Mesa-dev] More projects for newbies

2013-11-23 Thread f.josef
Hello, I have done the changes for ARB_map_buffer_alignment; will check I didn't break anything and start sending the patches in tomorrow. Kind regards, Michal Navratil "I've posted a wiki with some project suggestions for people wanting to get into Mesa development: http://wiki.freedesktop.org

[Mesa-dev] Anonymous structure in uniform question

2013-11-21 Thread f.josef
Hello, just recently I encountered a problem when linking shaders, containing uniform consisting of anonymous structure. Here is the code of shaders, triggering the problem: //vertex shader uniform struct {vec3 a; vec3 b;} a; void main() {   gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;