glsl: Separate overlapping sentinel nodes in exec_list.
I do appreciate the cleverness, but unfortunately it prevents a lot more cleverness in the form of additional compiler optimizations brought on by -fstrict-aliasing. No difference in OglBatch7 (n=20). Co-authored-by: Davin McCall <davmac@davmac.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
@@ -2062,7 +2062,7 @@ ir_function_signature::constant_expression_value(exec_list *actual_parameters, s
|
||||
* have to use the variable objects from the object with the body,
|
||||
* but the parameter instanciation on the current object.
|
||||
*/
|
||||
const exec_node *parameter_info = origin ? origin->parameters.head : parameters.head;
|
||||
const exec_node *parameter_info = origin ? origin->parameters.get_head_raw() : parameters.get_head_raw();
|
||||
|
||||
foreach_in_list(ir_rvalue, n, actual_parameters) {
|
||||
ir_constant *constant = n->constant_expression_value(variable_context);
|
||||
|
Reference in New Issue
Block a user