7f0fcf17c342dcb788c2182b20973c48806ee498 |
|
27-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
r300g: implement TRUNC correctly This fixes some integer division tests.
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
3d32e589879806297258e36ea80aae5044293ca3 |
|
05-Sep-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Implement ROUND According to the GLSL spec, the implementor can decide which way to round when the fraction is .5. The r300 compiler will round down.
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
1c2c4ddbd1e97bfd13430521e5c09cb5ce8e36e6 |
|
26-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
r300g: copy the compiler from r300c What a beast. r300g doesn't depend on files from r300c anymore, so r300c is now left to its own fate. BTW 'make test' can be invoked from the gallium/r300 directory to run some compiler unit tests.
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
fe622bac0c1b5b9f2a9fcf9f35b51232a06bea42 |
|
11-Jan-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Rewrite register allocator The new allocator uses ra and does swizzle packing. Also, a data structure (struct rc_variable) and associated functions have been added for generating UD and DU chains.
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
20141d9efdf674a3c7a13a75fabe533665d02cd0 |
|
05-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: implement the CND opcode No one uses it now, but I will need it for a lowering pass.
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
ffcdd49c69811b9f768c0b32acef6527d5626a6e |
|
23-Jan-2011 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: remove any code related to relative addressing of temporaries The hw can't do it and the code was useless anyway (it's lowered in the GLSL compiler).
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
e6d798948e00e255b80a69562a7d262257f77ee5 |
|
01-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: implement and lower OPCODE_CLAMP Needed for st/vega.
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
b6e2c32626551791a33433913dfb4401f8c67cf4 |
|
16-Nov-2010 |
Marek Olšák <maraeo@gmail.com> |
r300g: remove the hack with OPCODE_RET RET was interpreted as END, which was wrong. Instead, if a shader contains RET in the main function, it will fail to compile with an error message from now on. The hack is from early days.
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
27eb2e275544d78a229eaded9bafc0db60172675 |
|
15-Aug-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: implement DP2 opcode
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
b217167056970a9b7d09b7ffe863f013c2083395 |
|
15-Aug-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: implement SSG opcode
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
f78445de5d2316934ebeaa19a616d2f960c89237 |
|
11-Aug-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Implement the CONT opcode.
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
ce929d8210baf0ea66f32565285f0b33cd495e46 |
|
05-Jul-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Implement KILP opcode. Signed-off-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
622fd4d061678027d5de2c84d1c07370830c4264 |
|
28-May-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Implement simple loop emulation The loop emulation unrolls loops as may times as possbile while still keeping the shader program below the maximum instruction limit. At this point, there are no checks for constant conditionals. This is only enabled for fragment shaders.
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
ec4e67999c50da624dc3c93028a9ae91782164e6 |
|
27-Apr-2010 |
José Fonseca <jfonseca@vmware.com> |
r300: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes.
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
ec719ae199490f6026866851153c6c86ebbd4135 |
|
19-Apr-2010 |
Marek Olšák <maraeo@gmail.com> |
r300g: implement TRUNC as floor
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
394803b2cd7fd9d4c0a394eb6998ccafec19bcd3 |
|
18-Apr-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: lower CEIL
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
953a309de9204490edcd011e700c06c7c25c0b9e |
|
11-Apr-2010 |
Marek Olšák <maraeo@gmail.com> |
r300g: FS constants emission rework * The constant buffer emission is separated from RC state variables emission. * The immediates are emitted with FS code.
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
9dc51ad4f7bb9bbaba247da90dc50f2098dd5e64 |
|
30-Mar-2010 |
Vinson Lee <vlee@vmware.com> |
r300g: Remove unnecessary header.
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
4a16d325eb79d8c9da22df58aae4490bd79edaba |
|
28-Mar-2010 |
Marek Olšák <maraeo@gmail.com> |
r300g: handle TGSI_OPCODE_RET as END
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
4b8d3480764daf45cbbc03d76cd8b7c81937f532 |
|
27-Mar-2010 |
Marek Olšák <maraeo@gmail.com> |
r300g: print errors even on non-debug builds We really need to get these into bug reports.
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
229db2b8ade33571e4cece1d838234895db220c2 |
|
11-Feb-2010 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300g: Work around "defect" in r300compiler. r300compiler doesn't handle half swizzles for vert shaders, which don't have them. So, for now, disable them.
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
dbc13401915b345df584a621b1b2aaa9030bfac5 |
|
09-Feb-2010 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300g: One less assert. This entire codepath needs to be cleaned to be more pliant towards shader failure.
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
5a27a77d009b44dcd2eb35c3b66bd88cf5005d24 |
|
09-Feb-2010 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300g: Be ever-so-slightly more useful on bad shaders.
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
565f0cef26d6da49ae58462d0c1f9b832ee71174 |
|
02-Feb-2010 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300g: Fix funky segfault.
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
9a1bf52c184b6c0393543fe4bb03c790630b9e21 |
|
01-Feb-2010 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300g: Inline immediates where possible. Oh look, more gears. Seems to work just fine though.
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
2c046034dc5c95dd2fe84d0b4fd44f25235480b9 |
|
23-Dec-2009 |
Michal Krol <michal@vmware.com> |
Remove TGSI_OPCODE_SHR, map existing usage to TGSI_OPCODE_ISHR. This is to differentiate it from its unsigned version, TGSI_OPCODE_USHR.
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
6ba83cd63f84a4d74dd679d62662d59533fd1bdb |
|
16-Dec-2009 |
Marek Olšák <maraeo@gmail.com> |
r300g: add texture compare modes
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
91a4e6d53f83c45c1da9240b6325011d96b61386 |
|
24-Nov-2009 |
Keith Whitwell <keithw@vmware.com> |
tgsi: rename fields of tgsi_full_src_register to reduce verbosity SrcRegister -> Register SrcRegisterInd -> Indirect SrcRegisterDim -> Dimension SrcRegisterDimInd -> DimIndirect
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
5b0824dfe5eaf59fa87134e7482b3d147b262901 |
|
24-Nov-2009 |
Keith Whitwell <keithw@vmware.com> |
tgsi: rename fields of tgsi_full_dst_register to reduce verbosity DstRegister -> Register DstRegisterInd -> Indirect
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
7d6c8f980d1e23ad6f557d650e89c715861a3b0c |
|
24-Nov-2009 |
Keith Whitwell <keithw@vmware.com> |
tgsi: rename fields of tgsi_full_instruction to avoid excessive verbosity InstructionPredicate -> Predicate InstructionLabel -> Label InstructionTexture -> Texture FullSrcRegisters -> Src FullDstRegisters -> Dst
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
56ee132f9671f70ff2b3ee04659beac0dfc6126d |
|
24-Nov-2009 |
Keith Whitwell <keithw@vmware.com> |
gallium: try and update r300 and nv drivers for tgsi changes It would be nice if these drivers built under the linux-debug header so that these types of interface changes can be minimally propogated into those drivers by people without the hardware. They don't have to generate a working driver -- though a command-dumping winsys would be an excellent for regression checking.
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
da253319f9e5d37d9c55b975ef9328545a3ac9b4 |
|
23-Oct-2009 |
Keith Whitwell <keithw@vmware.com> |
gallium: remove extended negate also, and also the ExtSwz token Likewise, the extended negate functionality hasn't been used since mesa switched to using tgsi_ureg to build programs, and has been translating the SWZ opcode internally to a single MAD.
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
b9cb74c7f826dfd320f5e5b54aa933898f7ddd3d |
|
23-Oct-2009 |
Keith Whitwell <keithw@vmware.com> |
gallium: remove the swizzling parts of ExtSwizzle These haven't been used by the mesa state tracker since the conversion to tgsi_ureg, and it seems that none of the other state trackers are using it either. This helps simplify one of the biggest suprises when starting off with TGSI shaders.
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
4e1d51786e0657c7430d731ac464f2a73e32eddf |
|
23-Oct-2009 |
Keith Whitwell <keithw@vmware.com> |
gallium: remove noise opcodes Provide a dummy implementation in the GL state tracker (move 0.5 to the destination regs). At some point, a motivated person could add a better implementation of noise. Currently not even the nvidia binary drivers do anything more than this. In any case, the place to do this is in the GL state tracker, not the poor driver.
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
7ca7220ea1d31dbdbf1fe7e6f3e6cc4ff8b0abde |
|
07-Oct-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
Merge branch 'master' into r300g-glsl Conflicts: src/gallium/drivers/r300/r300_tgsi_to_rc.c Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
|
1f39d59a2996e2acf6893a8dd1a0293bd8790cc2 |
|
05-Oct-2009 |
Joakim Sindholt <opensource@zhasha.com> |
r300g: fix scons build So I didn't touch r300compiler, but r300g now compiles after having declarations and code untangled. As nha so gently points out, we shouldn't have to do this just to comply with MSVC compilers.
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
995135479d5662d1b1970c0f233c3c3d944d8b4d |
|
04-Oct-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Refactor to allow different instruction types Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
b7cf887ca74561469c144f1d12227e1bcf277e7e |
|
03-Oct-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Introduce control flow instructions and refactor dataflow Note that control flow instruction support isn't actually fully functional yet. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
81c7561d9d3faf70ac22c6a5f3fbea18f53eed92 |
|
21-Sep-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
Merge branch 'master' into r300-compiler There were additional non-textual conflicts. Conflicts: src/gallium/drivers/r300/r300_tgsi_to_rc.c src/mesa/drivers/dri/r300/compiler/r3xx_vertprog.c src/mesa/drivers/dri/r300/compiler/radeon_program.c src/mesa/drivers/dri/r300/compiler/radeon_program_alu.c
|
bffa18624de4a509f63d679c0c48f2c3f0c27cea |
|
13-Sep-2009 |
Cooper Yuan <cooperyuan@gmail.com> |
r300g: delete unused flag due to commit: 09b566e1610
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
b3f4b56a3b7f979c631358caefed635c6ec56453 |
|
01-Sep-2009 |
Keith Whitwell <keithw@vmware.com> |
tgsi: remove redundant CND0 opcode Can be implemented with CMP src2, src1, src0
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
d1b4351e603522be11061522cb6b685da9ef1fee |
|
30-Aug-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Remove all Mesa dependencies from the shader compiler In particular, this removes the dependency on prog_instruction, which unfortunately creates some code duplication, but also opens a path towards adding some hardware-specific things in there. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
d0c398a8e2985b855f923aec3470cef8734a622a |
|
30-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300g: Use radeon compiler for fragment programs This is entirely untested on R500, and needs more testing on R300.
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
188f8c679254f193cdcfcd4ef338f3c8c5e1146d |
|
27-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300g: Use r300compiler for vertex shaders
/external/mesa3d/src/gallium/drivers/r300/r300_tgsi_to_rc.c
|