Skip to content

Commit 354a7b8

Browse files
krystian-andrzejewskiigcbot
authored andcommitted
Extend GenISA_InnerScalarTessFactors and GenISA_OuterScalarTessFactors
This introduces extra parameters for GenISA_OuterScalarTessFactors and GenISA_OuterScalarTessFactors.
1 parent 3ddceed commit 354a7b8

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

IGC/GenISAIntrinsics/GenIntrinsicInst.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ See LICENSE.TXT for details.
4646

4747
#include "llvmWrapper/IR/Instructions.h"
4848
#include "llvmWrapper/Support/Alignment.h"
49+
#include "usc_gen7_types.h"
4950

5051
namespace llvm {
5152
/// IntrinsicInst - A useful wrapper class for inspecting calls to intrinsic

IGC/GenISAIntrinsics/Intrinsic_definitions.py

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,8 @@
313313
####################################################################################################
314314
"GenISA_InnerScalarTessFactors": ["",
315315
[("void", ""),
316-
[("int", "enum for the type of Tess factor"),
316+
[("int", "enum for the type of Tess domain"),
317+
("int", "enum for the type of Tess factor"),
317318
("float", "tess factor value")],
318319
"None"]],
319320
####################################################################################################
@@ -396,7 +397,8 @@
396397
####################################################################################################
397398
"GenISA_OuterScalarTessFactors": ["",
398399
[("void", ""),
399-
[("int", "enum for the type of Tess factor"),
400+
[("int", "enum for the type of Tess domain"),
401+
("int", "enum for the type of Tess factor"),
400402
("float", "tess factor value")],
401403
"None"]],
402404
####################################################################################################
@@ -411,18 +413,6 @@
411413
("int", "mask")],
412414
"None"]],
413415
####################################################################################################
414-
"GenISA_OutputTessFactors": ["",
415-
[("void", ""),
416-
[("float", "QUAD_V_INSIDE_TESSFACTOR"),
417-
("float", "QUAD_U_INSIDE_TESSFACTOR"),
418-
("float", "QUAD_V_EQ_1_EDGE_TESSFACTOR, TRI_INSIDE_TESSFACTOR"),
419-
("float", "QUAD_U_EQ_1_EDGE_TESSFACTOR, TRI_W_EQ_0_EDGE_TESSFACTOR"),
420-
("float", "QUAD_V_EQ_0_EDGE_TESSFACTOR, TRI_V_EQ_0_EDGE_TESSFACTOR, "+\
421-
"LINE_DENSITY_TESSFACTOR"),
422-
("float", "QUAD_U_EQ_0_EDGE_TESSFACTOR, TRI_U_EQ_0_EDGE_TESSFACTOR, "+\
423-
"LINE_DETAIL_TESSFACTOR")],
424-
"None"]],
425-
####################################################################################################
426416
"GenISA_PHASE_INPUT": ["",
427417
[("anyfloat", ""),
428418
[("int", "index")],

0 commit comments

Comments
 (0)