search for: tgsi_instruct

Displaying 6 results from an estimated 6 matches for "tgsi_instruct".

2017 Jun 11
0
[RFC 1/9] tgsi: add precise flag to tgsi_instruction
...adding = 0; return instruction; diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h index 1e08d97329..aa0fb3e3b3 100644 --- a/src/gallium/include/pipe/p_shader_tokens.h +++ b/src/gallium/include/pipe/p_shader_tokens.h @@ -638,7 +638,8 @@ struct tgsi_instruction unsigned Label : 1; unsigned Texture : 1; unsigned Memory : 1; - unsigned Padding : 2; + unsigned Precise : 1; + unsigned Padding : 1; }; /* -- 2.13.1
2017 Jun 12
3
[Mesa-dev] [RFC 0/9] Add precise/invariant semantics to TGSI
...aybe somebody of you has a better >> idea? > > Sent a suggestion, as well as comments on patches 4 & 5. Patches 1 & 2: > > Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com> > > >> >> Karol Herbst (9): >> tgsi: add precise flag to tgsi_instruction >> tgsi/dump: print _PRECISE modifier on Instrutions >> st/glsl_to_tgsi: handle precise modifier >> tgsi: populate precise >> tgsi/text: parse _PRECISE modifier >> nv50/ir: add precise field to Instruction >> nv50/ir/tgsi: handle precise for...
2017 Jun 12
0
[Mesa-dev] [RFC 0/9] Add precise/invariant semantics to TGSI
...t I found > no other easy way to handle this. Maybe somebody of you has a better idea? Sent a suggestion, as well as comments on patches 4 & 5. Patches 1 & 2: Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com> > > Karol Herbst (9): > tgsi: add precise flag to tgsi_instruction > tgsi/dump: print _PRECISE modifier on Instrutions > st/glsl_to_tgsi: handle precise modifier > tgsi: populate precise > tgsi/text: parse _PRECISE modifier > nv50/ir: add precise field to Instruction > nv50/ir/tgsi: handle precise for most ALU instructions &g...
2017 Jun 13
0
[Mesa-dev] [RFC 0/9] Add precise/invariant semantics to TGSI
...t;>> idea? >> >> Sent a suggestion, as well as comments on patches 4 & 5. Patches 1 & 2: >> >> Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com> >> >> >>> >>> Karol Herbst (9): >>> tgsi: add precise flag to tgsi_instruction >>> tgsi/dump: print _PRECISE modifier on Instrutions >>> st/glsl_to_tgsi: handle precise modifier >>> tgsi: populate precise >>> tgsi/text: parse _PRECISE modifier >>> nv50/ir: add precise field to Instruction >>> nv50/ir/t...
2017 Jun 11
14
[RFC 0/9] Add precise/invariant semantics to TGSI
...4.4 and 4.5 Note on Patch 3: I really dislike how I tell glsl_to_tgsi_visitor to apply the precise flag on instruction emited in ir_assignment->rhs->accept(); but I found no other easy way to handle this. Maybe somebody of you has a better idea? Karol Herbst (9): tgsi: add precise flag to tgsi_instruction tgsi/dump: print _PRECISE modifier on Instrutions st/glsl_to_tgsi: handle precise modifier tgsi: populate precise tgsi/text: parse _PRECISE modifier nv50/ir: add precise field to Instruction nv50/ir/tgsi: handle precise for most ALU instructions nv50/ir: disable mul+add to mad for...
2017 Jun 11
0
[RFC 4/9] tgsi: populate precise
...ions(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_build.c b/src/gallium/auxiliary/tgsi/tgsi_build.c index 55e4d064ed..144a017768 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_build.c +++ b/src/gallium/auxiliary/tgsi/tgsi_build.c @@ -651,6 +651,7 @@ tgsi_default_instruction( void ) static struct tgsi_instruction tgsi_build_instruction(unsigned opcode, unsigned saturate, + unsigned precise, unsigned num_dst_regs, unsigned num_src_regs, struct tgsi_header *header) @@ -665,6 +666,7 @@ tgsi...