Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f6b22a75
Commit
f6b22a75
authored
Nov 09, 2012
by
Matteo Bruni
Committed by
Alexandre Julliard
Nov 09, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler: Put data type name of constants on the heap.
parent
feda13db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
hlsl.y
dlls/d3dcompiler_43/hlsl.y
+3
-3
No files found.
dlls/d3dcompiler_43/hlsl.y
View file @
f6b22a75
...
...
@@ -1770,7 +1770,7 @@ primary_expr: C_FLOAT
}
c->node.type = HLSL_IR_CONSTANT;
set_location(&c->node.loc, &yylloc);
c->node.data_type = new_hlsl_type(
"float"
, HLSL_CLASS_SCALAR, HLSL_TYPE_FLOAT, 1, 1);
c->node.data_type = new_hlsl_type(
d3dcompiler_strdup("float")
, HLSL_CLASS_SCALAR, HLSL_TYPE_FLOAT, 1, 1);
c->v.value.f[0] = $1;
$$ = &c->node;
}
...
...
@@ -1784,7 +1784,7 @@ primary_expr: C_FLOAT
}
c->node.type = HLSL_IR_CONSTANT;
set_location(&c->node.loc, &yylloc);
c->node.data_type = new_hlsl_type(
"int"
, HLSL_CLASS_SCALAR, HLSL_TYPE_INT, 1, 1);
c->node.data_type = new_hlsl_type(
d3dcompiler_strdup("int")
, HLSL_CLASS_SCALAR, HLSL_TYPE_INT, 1, 1);
c->v.value.i[0] = $1;
$$ = &c->node;
}
...
...
@@ -1798,7 +1798,7 @@ primary_expr: C_FLOAT
}
c->node.type = HLSL_IR_CONSTANT;
set_location(&c->node.loc, &yylloc);
c->node.data_type = new_hlsl_type(
"bool"
, HLSL_CLASS_SCALAR, HLSL_TYPE_BOOL, 1, 1);
c->node.data_type = new_hlsl_type(
d3dcompiler_strdup("bool")
, HLSL_CLASS_SCALAR, HLSL_TYPE_BOOL, 1, 1);
c->v.value.b[0] = $1;
$$ = &c->node;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment