michal
4a470f63c9
Naive implementation of IF/ELSE/ENDIF.
Handle TGSI labels correctly.
Enhance MESA opcode info queries.
18年前
Brian
e3cef58875
Fix function call bug 11731. Also, fix up IR_CALL/IR_FUNC confusion.
18年前
Brian
9ed040c3c9
generate error upon writing to varying var in fragment program (bug 11733)
18年前
Brian
4477a01372
call ctx->Driver.NewProgram() instead of _mesa_new_program()
18年前
Brian
5b6858c023
call ctx->Driver.NewProgram() instead of _mesa_new_program()
18年前
Jan Dvorak
5a0f02a394
fix shader/info string length queries (bug 11588)
18年前
Brian
f5eb25e9c7
fix swizzle-related bug 11534
18年前
Brian
c223c6b663
Be more consistant with paths in #includes. Eventually, eliminate a bunch of -I flags.
18年前
Brian
7ff4359a3b
added vec2(vec4) constructor, bug 11404
18年前
Brian
a36b5c6d47
add code for stpq, rgba writemasks in make_writemask(), bug 11404
18年前
Ian Romanick
7b559a9102
Add support for GL_ARB_fragment_program_shadow.
18年前
Ian Romanick
69358e73ce
Updates for array texture shadow targets.
18年前
Roland Scheidegger
7f1879d4e1
make sure optimized fog params get updated
18年前
Brian
4fca6bfa5d
fix STATE_HALF_VECTOR value (bug 10987)
18年前
Ian Romanick
bb372f1c9b
Initial implementation of MESA_texture_array
Shadow sampling from texture arrays is still not implemented. Everything
else should be there, though.
18年前
Brian
6a587c0124
comment about fixing uniform structs
18年前
Brian
cc358d861d
user-declared uniform structs not supported yet (see bug 10908)
18年前
Brian
749e093e33
don't ignore return value of _slang_codegen_global_variable()
18年前
Brian
544e441f53
regenerated
18年前
Brian
fa546c367d
Implement exp() in terms of __asm float_power. Fix typo in mod(vec4) function.
exp() was using __asm float_exp (OPCODE_EXP) but that computes base two, not e.
See bug 10907.
18年前
Brian
3e4302fe3b
Check that texture units/samplers specified with glUniform1i() are legal.
18年前
Brian
62da6a1b3e
Resuscitate some of the DDX,DDY code.
Only works for program input registers at this time.
Good enough for the common case of texcoords, though.
18年前
Brian
77e7535c0f
fix some DDX,DDY mix-ups
18年前
Brian
03f201d935
regenerated
18年前
Brian
594b5ad87d
implement acos(), asin(), atan()
18年前
Brian
7559364027
Rewrite of slang_inline_asm_function() to do full parameter/argument substitution.
We had been taking a short-cut w/ asm inlines by just using parameters in order
rather than doing full formal parameter -> actual argument substitution like
ordinary inlined function calls. This worked in all cases but one: mix() in
which the parameters were used in a different order.
This fixes bug 10821.
18年前
Brian
4ca7c804db
fix GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB bug (10787)
18年前
Brian
c4b3b8dece
asin(), acos(), atan() just return 0.5 for now to avoid crashing. Fix someday.
18年前
Brian
54d59cfb70
Added error check that all varying vars needed by the fragment shader are produced by vertex shader.
18年前
Karl Schultz
286faac68e
assorted fixes for Windows/VC8
18年前
Karl Schultze
208ea84524
fix double const, move an assertion
18年前
Brian
e261d66d81
Remove all the USE_MEMPOOL debug code.
18年前
Brian
cd3e39340f
Use new memory pool allocator. Lots of debug code still in place...
18年前
Brian
d5e7234ba8
call grammar_alloc_free() to fix memleaks
18年前
Brian
257f799849
remove more unused vars, assertions
18年前
Brian
81c4fee160
remove unused vars, assertions
18年前
Brian
82839e8430
Memory pool manager.
Instead of doing intricate malloc/free tracking during compiling, allocate
everything (which would be discarded after compiling) from a pool that can
be freed en masse when done.
18年前
Brian
4cc2674aee
fix instruction comment code
18年前
Brian
a7f7366d38
another bit of debug code
18年前
Brian
11e3f733ba
free subroutine array (fix mem leak)
18年前
Brian
98ef18909a
new varnames in slang_operation_insert()
18年前
Brian
f2346498aa
fix memleak in slang_operation_insert()
18年前
Brian
4b7c6fc5a6
free shProg->Attributes in _mesa_free_shader_program_data()
18年前
Brian
fe16b9f663
move allocation of shProg->Attributes earlier in function
18年前
Brian
020cdb47cf
Fix valgrind problem caused by reading text[-1].
18年前
Brian
24a93dd6a4
remove invalid assertion
18年前
Brian
00da9afb84
fix crash when program has invalid structure field
18年前
Brian
4abcaf3949
init A.curFuncEndLabel = NULL
18年前
Brian
5ca8d4ccf2
fix an uninitialized variable and a warning
18年前
Brian
6b3027e291
comments, assertions
18年前