<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mesa.git/src/glsl/ir_visitor.h, branch baserock/james/test</title>
<subtitle>gitlab.freedesktop.org: mesa/mesa.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mesa.git/'/>
<entry>
<title>glsl: add ir_emit_vertex and ir_end_primitive instruction types</title>
<updated>2013-08-02T03:20:16+00:00</updated>
<author>
<name>Bryan Cain</name>
<email>bryancain3@gmail.com</email>
</author>
<published>2013-02-15T15:26:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mesa.git/commit/?id=ae6eba3e32a142665d2ae6e15c9122d3201c0b5d'/>
<id>ae6eba3e32a142665d2ae6e15c9122d3201c0b5d</id>
<content type='text'>
These correspond to the EmitVertex and EndPrimitive functions in GLSL.

v2 (Paul Berry &lt;stereotype441@gmail.com&gt;): Add stub implementations of
new pure visitor functions to i965's vec4_visitor and fs_visitor
classes.

v3 (Paul Berry &lt;stereotype441@gmail.com&gt;): Rename classes to be more
consistent with the names used in the GL spec.

Reviewed-by: Ian Romanick &lt;ian.d.romanick@intel.com&gt;
Reviewed-by: Kenneth Graunke &lt;kenneth@whitecape.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These correspond to the EmitVertex and EndPrimitive functions in GLSL.

v2 (Paul Berry &lt;stereotype441@gmail.com&gt;): Add stub implementations of
new pure visitor functions to i965's vec4_visitor and fs_visitor
classes.

v3 (Paul Berry &lt;stereotype441@gmail.com&gt;): Rename classes to be more
consistent with the names used in the GL spec.

Reviewed-by: Ian Romanick &lt;ian.d.romanick@intel.com&gt;
Reviewed-by: Kenneth Graunke &lt;kenneth@whitecape.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>glsl: Make some files safe to include from C</title>
<updated>2013-06-21T17:04:28+00:00</updated>
<author>
<name>Paul Berry</name>
<email>stereotype441@gmail.com</email>
</author>
<published>2013-03-22T20:29:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mesa.git/commit/?id=d0abac22c3d963a0f02a41c7527fbb18071ea7c4'/>
<id>d0abac22c3d963a0f02a41c7527fbb18071ea7c4</id>
<content type='text'>
Reviewed-by: Eric Anholt &lt;eric@anholt.net&gt;
Reviewed-by: Kenneth Graunke &lt;kenneth@whitecape.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Eric Anholt &lt;eric@anholt.net&gt;
Reviewed-by: Kenneth Graunke &lt;kenneth@whitecape.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>glsl: Use ir_rvalue to represent generic error_type values.</title>
<updated>2012-04-02T21:15:34+00:00</updated>
<author>
<name>Kenneth Graunke</name>
<email>kenneth@whitecape.org</email>
</author>
<published>2011-09-22T22:04:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mesa.git/commit/?id=807e967c615dc80a264af5a89af7649f95481744'/>
<id>807e967c615dc80a264af5a89af7649f95481744</id>
<content type='text'>
Currently, ir_call can be used as either a statement (for void
functions) or a value (for non-void functions).  This is rather awkward,
as it's the only class that can be used in both forms.

A number of places use ir_call::get_error_instruction() to construct a
generic value of error_type.  If ir_call is to become a statement, it
can no longer serve this purpose.

Unfortunately, none of our classes are particularly well suited for
this, and creating a new one would be rather aggrandizing.  So, this
patch introduces ir_rvalue::error_value(), a static method that creates
an instance of the base class, ir_rvalue.  This has the nice property
that you can't accidentally try and access uninitialized fields (as it
doesn't have any).  The downside is that the base class is no longer
abstract.

Signed-off-by: Kenneth Graunke &lt;kenneth@whitecape.org&gt;
Reviewed-by: Eric Anholt &lt;eric@anholt.net&gt;
Reviewed-by: Ian Romanick &lt;ian.d.romanick@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, ir_call can be used as either a statement (for void
functions) or a value (for non-void functions).  This is rather awkward,
as it's the only class that can be used in both forms.

A number of places use ir_call::get_error_instruction() to construct a
generic value of error_type.  If ir_call is to become a statement, it
can no longer serve this purpose.

Unfortunately, none of our classes are particularly well suited for
this, and creating a new one would be rather aggrandizing.  So, this
patch introduces ir_rvalue::error_value(), a static method that creates
an instance of the base class, ir_rvalue.  This has the nice property
that you can't accidentally try and access uninitialized fields (as it
doesn't have any).  The downside is that the base class is no longer
abstract.

Signed-off-by: Kenneth Graunke &lt;kenneth@whitecape.org&gt;
Reviewed-by: Eric Anholt &lt;eric@anholt.net&gt;
Reviewed-by: Ian Romanick &lt;ian.d.romanick@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>glsl: add ir_control_flow_visitor</title>
<updated>2010-09-13T20:03:09+00:00</updated>
<author>
<name>Luca Barbieri</name>
<email>luca@luca-barbieri.com</email>
</author>
<published>2010-09-06T22:22:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mesa.git/commit/?id=55adbebc62a6a819a005adf48f367e7f378c7349'/>
<id>55adbebc62a6a819a005adf48f367e7f378c7349</id>
<content type='text'>
This is just a subclass of ir_visitor with empty implementations of all
the visit methods for non-control flow nodes.

Used to avoid duplicating that in ir_visitor subclasses.

ir_hierarchical_visitor is another way to solve this, but is less natural
for some applications.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is just a subclass of ir_visitor with empty implementations of all
the visit methods for non-control flow nodes.

Used to avoid duplicating that in ir_visitor subclasses.

ir_hierarchical_visitor is another way to solve this, but is less natural
for some applications.
</pre>
</div>
</content>
</entry>
<entry>
<title>glsl2: Define new ir_discard instruction.</title>
<updated>2010-06-30T21:54:58+00:00</updated>
<author>
<name>Kenneth Graunke</name>
<email>kenneth@whitecape.org</email>
</author>
<published>2010-06-30T17:47:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mesa.git/commit/?id=16efab1c4dee6e6a827ba5f1c482378159545ae5'/>
<id>16efab1c4dee6e6a827ba5f1c482378159545ae5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>glsl2: Move the compiler to the subdirectory it will live in in Mesa.</title>
<updated>2010-06-24T22:36:00+00:00</updated>
<author>
<name>Eric Anholt</name>
<email>eric@anholt.net</email>
</author>
<published>2010-06-24T22:32:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mesa.git/commit/?id=29285882676388aacff123e8bdf025904abf8ea9'/>
<id>29285882676388aacff123e8bdf025904abf8ea9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
