Mesa (master): 50 new commits
Ian Romanick
idr at kemper.freedesktop.org
Tue Aug 30 23:29:39 UTC 2016
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c011d7d900b36c4b49832b3100a4ea759ba89ccb
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 19 15:45:03 2016 -0700
glsl: Fix typo in comment
Trivial.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aee9ab7de7079d849ed28519fe4e9de7e8eb96e0
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jul 18 17:38:19 2016 -0700
glsl: Replace most assertions with unreachable()
text data bss dec hex filename
7669233 277176 28624 7975033 79b079 i965_dri.so before generated code
7647081 277176 28624 7952881 7959f1 i965_dri.so before this commit
7669289 277176 28624 7975089 79b0b1 i965_dri.so with this commit
Looking at the generated assembly, it appears that some of changes made
in the generated code prevent some loops from being unrolled. Removing
the default cases (via unreachable()) allows these loops to unroll again.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dd574be54c5b6769a6a1a7d939759dc25b6b97bd
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jul 18 11:16:18 2016 -0700
glsl: Refactor handling of horizontal operations
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6e73150a4017ace895472b049ca9381b1073a6d
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jul 18 11:13:55 2016 -0700
glsl: Use constant_template_horizontal instead of constant_template_horizontal_single_implementation for unops
This changes the "shape" of all the pack and unpack operators, but they
should function the same.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=822b5c5eb257cccd0fe3939819a3588d18173a23
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jul 18 10:58:42 2016 -0700
glsl: Eliminate constant_template2
constant_template_common can now handle the case where the result type
is different from the input type by using type_signature_iter. This
changes the "shape" of all the cast-style operators, but they should
function the same.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=abc81f788343e1780c21ec748153e7bb003cd7e0
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jul 18 10:49:07 2016 -0700
glsl: Eliminate constant_template5
constant_template_common can now handle the case where the result type
is different from the input type by using type_signature_iter.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=53c54a6c733952027b75541b6c7c4efeec319bd8
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 15 16:40:06 2016 -0700
glsl: Eliminate constant_template0
This template is mostly an artefact of the development of the original
patch series and to minimize the differences between the original code
and the generated code.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ddb4b53de3ae0638f58fdbcd6cdf8f398a566103
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Jul 14 17:42:59 2016 -0700
glsl: Eliminate one of the templates for simpler operations
The difference between these two templates were mostly an artefact of
the development of the original patch series and to minimize the
differences between the original code and the generated code.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee3cdac7857a5c0f30108e1b1963d042f2a5e8e6
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 12 16:42:36 2016 -0700
glsl: Use the generated constant expression code
Immediately previous to this patch,
diff -wud src/glsl/ir_constant_expression.cpp \
src/glsl/ir_expression_operation_constant.h
should be "minimal."
v3: With much help from José Fonseca, fix the SCons build.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f3fcfe001f8e6d3abaa62eb73ab95d0ba88b628d
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 12 16:42:57 2016 -0700
glsl: Generate code for constant ir_triop_csel expressions
v2: 'for (a, b) in d' => 'for a, b in d'. Suggested by Dylan.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2761190baa7c0b99dfe29366dd6a88449bd6d5bb
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 12 16:42:36 2016 -0700
glsl: Generate code for constant ir_triop_lrp expressions
v2: 'for (a, b) in d' => 'for a, b in d'. Suggested by Dylan.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e09c8715de5320dca433c4379fac59efc99c5a8
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 12 16:42:09 2016 -0700
glsl: Generate code for constant ir_quadop_vector expressions
v2: 'for (a, b) in d' => 'for a, b in d'. Suggested by Dylan.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8e185a65fe65a897c35caff3ba498525ca71be8
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 12 16:15:10 2016 -0700
glsl: Generate code for constant ir_quadop_bitfield_insert expressions
v2: 'for (a, b) in d' => 'for a, b in d'. Suggested by Dylan.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d8ac28b20858faf612983f1652538380f9bd211
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 12 16:02:02 2016 -0700
glsl: Generate code for constant ir_triop_vector_insert expressions
v2: 'for (a, b) in d' => 'for a, b in d'. Suggested by Dylan.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f1d7c52354d7ffbd58467bb4a91b9c9ffd31785
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 12 12:52:45 2016 -0700
glsl: Generate code for constant ir_binop_vector_extract expressions
v2: 'for (a, b) in d' => 'for a, b in d'. Suggested by Dylan.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8dd49419aebf025fece1a2342dd880e7504c2e5
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 12 12:44:18 2016 -0700
glsl: Generate code for constant ir_binop_mul expressions
v2: 'for (a, b) in d' => 'for a, b in d'. Suggested by Dylan.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8954a019f7e9098738c7cc25ed097e7f85c24def
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 12 12:30:19 2016 -0700
glsl: Generate code for constant ir_triop_fma and ir_triop_bitfield_extract expressions
ir_triop_bitfield_extract is a little weird because the second and third
operand and aways int, so they may differ in type from the first
operand.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=da61c94db8bb26bac61565a3c6a3f6a3f5e1eab6
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 12 12:30:04 2016 -0700
glsl: Generate code for constant ir_binop_dot expressions
v2: 'for (a, b) in d' => 'for a, b in d'. Suggested by Dylan.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=13106e1041c254a80c7e2df392efea93dcbb215f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 12 11:29:21 2016 -0700
glsl: Generate code for constant ir_binop_lshift and ir_binop_rshift expressions
The code generated is quite different from what was previously used. I
believe that it is still correct by the GLSL spec, and I believe, due to
C rules about shifts, the behavior will be the same.
Section 5.9 (Expressions) of the GLSL 4.50 spec says:
The result is undefined if the right operand is negative, or greater
than or equal to the number of bits in the left expression's base
type.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=90da8bf5477cb65b9f2e5148c05ef621a09b704f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 12 10:53:11 2016 -0700
glsl: Generate code for constant ir_binop_ldexp expressions
ldexp is weird because its two operands have different types. Add
support for directly specifying the exact signatures of all the possible
variations of an operation.
v2: Use tuple() instead of () for clarity. Suggested by Dylan.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f87c54d1c6ae022c9884283052a7de9d6eec710
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 12 10:51:43 2016 -0700
glsl: Generate code for constant unary expressions that don't assign the destination
These are operations like the pack functions that have separate
functions that assign multiple outputs from a single input.
v2: Correct the source and destination types. They were previously
transposed.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8cf9157786ff6afa4bb8ce81755a9944dc79320d
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 12 10:12:57 2016 -0700
glsl: Generate code for some constant binary expression that are horizontal
Only operations where the implementation is identical code regardless of
type. The only such operations are ir_binop_all_equal and
ir_binop_any_nequal.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d5bfe6b9c4dbeef4f594e28cf1481dc60902bec9
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jul 11 17:38:16 2016 -0700
glsl: Generate code for constant unary expression that are horizontal
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f5357b1d690604333d04964eccf01a51c914c40
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jul 11 17:09:22 2016 -0700
glsl: Generate code for constant expressions that have an output type the differs from the input types
v2: Remove extra int() cast in find_lsb. Suggested by Matt. 'for (a,
b) in d' => 'for a, b in d'. Suggested by Dylan.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=74e335c7623165e8c4b15609ec34c6c4e952995e
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jul 11 11:05:13 2016 -0700
glsl: Generate code for constant binary expressions that combine vector and scalar operands
v2: 'for (a, b) in d' => 'for a, b in d'. Suggested by Dylan.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f81b1c7fa7f5392ea0b950b888db6f023769af52
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jul 11 10:19:31 2016 -0700
glsl: Generate code for constant binary expressions that have one operand type
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=598929aee7d9b70ddd7ab22347b43362cffdf3f9
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 8 18:40:58 2016 -0700
glsl: Generate code for constant unary expression that have different implementations for each source type
v2: 'for (a, b) in d' => 'for a, b in d'. Suggested by Dylan.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa9f4fc53e8c7bdc6270dce82485d8ddf053a562
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 8 17:12:33 2016 -0700
glsl: Generate code for constant unary expression that map one type to another
ir_unop_i2b is omitted because its source can either be int or uint.
That makes it special.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3fcb6b85c0331bd0bf98394d3a0def350d8c06cc
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 8 00:20:43 2016 -0700
glsl: Begin generating code for the most basic constant expressions
Unary operations where all of the supported types use the same C
expression to evaluate them.
v2: 'for (a, b) in d' => 'for a, b in d'. Suggested by Dylan.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e31c72a331b178a4e6c0cb80369dacb90055ee3e
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Jul 7 23:03:44 2016 -0700
glsl: Convert tuple into a class
This makes things a little more clear now, and it will make future
changes... possible.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6ef27003acd9c75fa827f4c43c3d8107b7a2bf56
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 12 18:25:30 2016 -0700
glsl: Compact a bunch of things onto one line
Even though they are much too long for that.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0cef8c683efb9798c2e25fccc947583f200f3e31
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 12 17:26:38 2016 -0700
glsl: Sort constant expression handling by IR operand enum value
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d54b5f7569e21e735dde299415dd9b7d2671988
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 12 16:57:43 2016 -0700
glsl: Trivial whitespace and punctuation changes
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fd2dabbb9fc2c7d349d0d913c9e115ac3ac3eac0
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 12 16:51:35 2016 -0700
glsl: Sort GLSL type enums in switch-statements in enum order
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=13ef8c46b8b8b90b74e2f9d1cc7b0483fa89c3c7
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 12 16:49:15 2016 -0700
glsl: Always use correct float types in constant expression handling
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea05a7225848dbea05547fb704d4a4a32f5208be
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 12 18:11:29 2016 -0700
glsl: Extract ir_quadop_bitfield_insert implementation to a separate function
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe153309a81e2ef3b46d76306053fec9bcba508e
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 12 18:07:51 2016 -0700
glsl: Extract ir_triop_bitfield_extract implementation to a separate function
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=54ec6e1b8b65004f3aa2acd3eb45b849d24ad8f6
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 12 17:49:02 2016 -0700
glsl: Extract ir_binop_ldexp implementation to a separate function
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d5fe1815c96b849aaf08f31c11d9ad4fe2b4769
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 12 17:40:48 2016 -0700
glsl: Use find_msb_uint to implement ir_unop_find_lsb
(X & -X) calculates a value with only the least significant bit of X
set. Since there is only one bit set, the LSB is the MSB.
v2: Remove extra int() cast. Suggested by Matt.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c24750a49b7c39f35600b25ece05f908d59f170
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 12 17:39:26 2016 -0700
glsl: Extract ir_unop_find_msb implementation to a separate function
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d75034b3a2194b43201be0d306383f4e03384856
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 12 17:32:24 2016 -0700
glsl: Extract ir_unop_bitfield_reverse implementation to a separate function
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b0606e0a7c3260e761137246923f453dcf1efe1
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jul 11 11:20:02 2016 -0700
glsl: Use _mesa_bitcount to implement constant ir_unop_bit_count
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4af9f36e724a7f8b17c41508a0f8cd37470678b
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Jul 7 22:15:53 2016 -0700
glsl: Delete spurious comment about mod not taking integer operands
This hasn't been true since we added support for GLSL 1.30.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6ad3e2dd9d2b4066ee972c0cb8cdf3ff6649eaf
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Jul 7 21:39:44 2016 -0700
glsl: Delete spurious comment about updating ir_expression::get_num_operands
This hasn't been necessary since 007f48815.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc41d998f2bdd919edabd2cdca0f858d90516c61
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Jul 7 21:37:22 2016 -0700
glsl: Do not generate comments or extra whitespace in expression files
The comments and whitespace can live in the Python code.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c6e8fd82ea118c66e69e4ad7967faec0715741aa
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Apr 15 17:55:32 2015 -0700
glsl: Just access the ir_expression_operation strings table directly
The operator_string functions gave us some protection against a
malformed table. Now that the table is generated from the same data
that generates the enum, this is not a concern. Just cut out the middle
man.
text data bss dec hex filename
7531892 273992 28584 7834468 778b64 i965_dri-64bit-before.so
7531828 273992 28584 7834404 778b24 i965_dri-64bit-after.so
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fb44f69779ed7497768421ccd60e73cc707ffe69
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Apr 15 17:50:57 2015 -0700
glsl: Generate ir_expression_operation_strings.h from Python
'diff -ud' is clean.
v2: Massive rebase.
v3: With much help from José Fonseca, fix the SCons build.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=90781eee4dfc101199ea557003f28126abe86912
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Apr 15 17:34:56 2015 -0700
glsl: Pull operator_strs out to its own file
No change except to the copyright symbol. The next patch will generate
this file with Python, and Unicode + Python = pure rage.
v2: Massive rebase.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=140ec58a07894da12440f1069ade3a4ed0ce0438
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Apr 15 17:19:04 2015 -0700
glsl: Generate the ir_last_* values
This ensures that they remain correct if the list is rearranged or new
opcodes are added. I checked a diff of before and after to ensure that
each ir_last_ had the same value.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d6af9e59935959689ac9611f17abc06c6837f16
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Apr 15 16:59:43 2015 -0700
glsl: Generate ir_expression_operation.h from Python
There are differences in where end-of-line comments are placed, but
'diff -wud' is clean.
v2: Massive rebase.
v3: With much help from José Fonseca, fix SCons build.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
More information about the mesa-commit
mailing list